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

How to draw the column chart in js code?I can draw them in web code

1 Answer 31 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Yin
Top achievements
Rank 1
Yin asked on 17 Aug 2013, 12:58 PM
I have a  json data {(sample1:3,5,6)},{sample2:4,7,8}},that means column A,B,C. I   can easily draw that in  this sameple like this:
.Series(series => {
series.Column(new double[] { 3 ,4}).Name("column A");
series.Column(new double[] { 5 ,7}).Name("column B");
series.Column(new double[] {6,8}).Name("column C");

})
.CategoryAxis(axis => axis
.Categories("Sample1", "Sample2")
.Line(line => line.Visible(false))
.Labels(labels => labels.Padding(145,0,0,0))
),How to  write them in js code?

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 21 Aug 2013, 07:08 AM
Hi Yin,

Could you try to examine this online mvc example and tell me if you have any problems?

Regards,
Hristo Germanov
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
Yin
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or