Multi-Series Stock Chart?

2 posts, 0 answers
  1. Caleb Sandfort
    Caleb Sandfort avatar
    38 posts
    Member since:
    Mar 2008

    Posted 12 Aug 2013 Link to this post

    Hi

    Currently I have a multi-series line chart using the following data:

    {
        "series": [{
            "name": "Incident",
            "data": [21, 16, 41, 6]
        }, {
            "name": "Change",
            "data": [7, 6, 2, 0]
        }],
        "categories": ["/Date(1367391600000-0700)/", "/Date(1370070000000-0700)/", "/Date(1372662000000-0700)/", "/Date(1375340400000-0700)/"],
        "trendCategories": [],
        "KendoChartType": "line",
        "LineWidth": 3,
        "TooltipDateFormat": "MMM yyyy",
        "categoryAxis_Type": "date"
    }
    and settings:

    series: result.series,
    categoryAxis: {
          categories: result.categories,
          majorGridLines: {
              visible: false
          },
          type: "date"
    }

    What I'm wondering is there a way I can use this data format and settings on the Stock Chart?  The only example of a multi-series stock chart I could find used data items for the points that had a value for each series. 

    Thanks
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 14 Aug 2013 Link to this post

    Hello Caleb,

    I am not quite sure if I understand correctly what the issue is - the provided data looks OK and Kendo UI StockChart should work as expected with it. Could you please elaborate a bit more - this way I would be able to advice you further and provide concrete recommendations. Thank you in advance for your cooperation.

    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top