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

2 posts, 0 answers
  1. Yin
    Yin avatar
    4 posts
    Member since:
    May 2013

    Posted 17 Aug 2013 Link to this post

    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?
  2. Hristo Germanov
    Hristo Germanov avatar
    703 posts

    Posted 21 Aug 2013 Link to this post

    Hi Yin,

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

    Hristo Germanov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top