I want to draw a column chart which represent below mentioned kind of data structure.
Marks-Range -> count
(0-20) -> 8
(20-40) -> 15
(40-60) -> 20
(60-80) -> 7
(80-100) -> 4
But the values i have is set of marks. (10,15,45,80....)
It is true that, this type of chart can be drawn in hi-charts by grouping those data manually. The problem is, once you do that you can't draw a plot line for x axis. I wonder is there any way to draw it by providing a grouping method like 'sum' similarly to data grouping option in Hi-stock charts. I can't use Hi-stock chart since my x values are not related to data or time.
Help would be appreciated.
Related
A table consists of 4 fields:
X: time values in ascending order
Y: numeric value - double
A: numeric value - int
B: numeric value - int
I need to create a line chart using the X,Y values. And at each of the x,y points also show a pie/circle representing the A,B values as follows:
The centre of the pie is the x,y point.
The diameter of the pie is calculated from the values A and B.
The pie will have 2 different coloured slices, the size of each slice is proportion to the value of A and B.
After searching the documentations of lcjs, can this be done using Lightning Charts JS? if not, how about lc.NET?
Any hints is much appriciated.
Thank you
In LightningChart JS, I don't believe there is such functionality available.
Something like this should be possible (bar instead of pie)
Hello I am trying to create a chart that contains some dates on X-axis, but when I add the list same dates are overeaten from the last one. For example in the following picture the is one insertion on 14/04 on insertion on 19/04, two insertion on 20/04 and 6 insertions on 21/04. Is there a way to split them? I dont want to switch to date chart.
I have created a combination chart (2 bars and 1 line chart) in Tableau. However the line chart is not shown even though I have included in the Marks section. However if I undo, Analysis -> Aggregate Measure the line appear but the counts are not correct. Could anyone help.
View when Analysis -> Aggregate Measure is selected
View when Analysis -> Aggregate Measure is deselected
You need to syncronize the axis when creating a dual axis chart else these type of issues will come.
Right click on second chart and then click synchronize the axis and check the chart.
I am completely new to Cognos, so sorry if I don't state some necessary information. I can't go into specifics about my chart, but here is the background:
I have a SQL code running into my Query
My chart and list use the same Query and have the exact same fields
My chart is a basic line graph
When I change my aggregate function to total for my y-axis, then I can see the data points
I do not want to use an aggregate function (I need to see all the points for my x and y-axis)
My x-axis is only one object, but it has multiple y-axis values within a year (which is my series). Ex:product-cost-year list,
where my product is the x-axis, cost is the y-axis, and series is year.
How can I get my chart to appear with all my data points? Eventually, I would like to add an upper and lower confidence interval to this chart.
One way to solve this issue is to create another column that simply counts the number of products (1,2,3,...9). We will call this column count. Keep all your fields the same (product for x-axis, cost for y-axis, and year for series). You will want to add count underneath product on the x-axis. You should see your mouse pointer turn to a horizontal line and it will place it under and to the right of product. Make sure not to place it just to the right of product.
I'm having trouble creating the following chart in Tableau.
I have data that looks like this:
name date count
a 11/10/2012 2
a 12/10/2012 3
a 13/10/2012 2
b 12/10/2012 6
b 13/10/2012 2
b 14/10/2012 3
c 14/10/2012 2
c 15/10/2012 2
And I want to create a bar chart that has the sum of the count on the y axis and time on the x axis. The width of the bar should be the length of the time, like a Gantt chart. Each name has its own bar. Here is an image that shows what I am after.
The bars should overlap if the times overlap.
I have tried various things in Tableau but haven't really got close.
Is this kind of chart possible in Tableau? If not in 7, will it be in 8? I have heard it makes it possible to create some more complex chart types.
A workbook with data can be found at http://community.tableausoftware.com/servlet/JiveServlet/download/188799-12362/Gantt%20over%20time%20with%20summed%20bar.twbx.zip
Thanks for your help,
Andrew
The trick with Gantt charts in Tableau is to put a calculation on the size shelf that calculates the duration of each bar in units of days. See the example screenshot at Tableau example
You also need a continuous date field on the columns shelf to get a horizontal time axis.
In this example, I also did a few more optional things, such as, turned off aggegation under the analysis menu to get a mark per data row, rather than aggegating them, added a discrete date to the rows shelf to make each bar go on a different line (as long as each bar starts on a different date) and hid the column for that start date.