Line chart with Grouping.. Date Intelligency etc

3 posts, 0 answers
  1. Vinod Sardar
    Vinod Sardar avatar
    33 posts
    Member since:
    Nov 2009

    Posted 02 Feb 2010 Link to this post

    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. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 05 Feb 2010 Link to this post

    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.
  3. Vinod Sardar
    Vinod Sardar avatar
    33 posts
    Member since:
    Nov 2009
Back to Top