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

Multi-Series Stock Chart?

1 Answer 84 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Caleb Sandfort
Top achievements
Rank 1
Caleb Sandfort asked on 12 Aug 2013, 04:46 PM
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

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 14 Aug 2013, 02:48 PM
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!
Tags
Charts
Asked by
Caleb Sandfort
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or