This is a migrated thread and some comments may be shown as answers.

Line chart with Grouping.. Date Intelligency etc

2 Answers 35 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Vinod Sardar
Top achievements
Rank 1
Vinod Sardar asked on 02 Feb 2010, 01:22 PM
Hi

I have following data:
Date | Type | Volume

2010-01-01 | A |100
2010-01-02 | A |100
2010-01-03 | A |100
...
2010-01-31 | A |100
2010-01-01 | B |100
2010-01-02 | B |100
....
2010-01-31 | B |100
<!-- FEB Data >
2010-02-01 | A |100
2010-02-02 | A |100
2010-02-03 | A |100
...
2010-02-28 | A |100
2010-02-01 | B |100
2010-02-02 | B |100
....
2010-02-28 | B |100

how Can I plot the Multiple Line chart.

Y Axis
|                                                                                               [Tooltip: Volume:100 Date:2010-02-31]
100 _        ----------------------------------------------------------------
|
|
|
X -axis--------|------------------------------|--------------------------------|---------------------------->
                 JAN                                   Feb                                  (MARCH)


Please let me know how to draw above chart.

I tried following but does not work:
1. I am using the LineSeries. i am creating a separe series for Type (A and B in this case) adding these series on the Chart.
this shows the Two lines on the Chart. (X-Axis --> Date and Y-Axis --> Volume).
Y Axis.
|
| -------------------------------------------------------------------------------------
|
X-Axis >|--|--|--|--|--|-----|---|---|---|-----|-------|------|------|-------|-------|-------|------------------------------------------------->
2010-01-01    ........................................................................    2010-02-28

which is somthing different from my requirement. Please let me know - how to solve this issue.

Please provide any simple if you can... Thanks in advanced.

2 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 05 Feb 2010, 11:21 AM
Hello Vinod Sardar,

Unfortunately RadChart does not support non-linear step for the XAxis when the axis is bound to DateTime data ("intelligent date support") so it will not be possible to achieve the desired effect (i.e. the control does not have the capabilities to group unknown number of DataPoints based on their month XValue so a single axis item label is visible for each month, neither is the control able to distinguish months with 28/29/30/31 days).


Regards,
Manuel
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Vinod Sardar
Top achievements
Rank 1
answered on 05 Feb 2010, 11:30 AM
Tags
Chart
Asked by
Vinod Sardar
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Vinod Sardar
Top achievements
Rank 1
Share this question
or