Home Forums Chart Support Chart is not drawing

Chart is not drawing

Viewing 2 posts - 1 through 2 (of 2 total)
  • #21863

    I have a graph chart and I have all the data but it is not showing graph but I can see legend text title and x axix and y axis.

    `[
    {
    type: “pie”,
    legendText: “Animals_Treated_in_Lakh”,
    showInLegend: true,
    dataPoints: [
    {
    y: “28.24”,
    z: “28.24”,
    label: 2012
    },
    {
    y: “25.12”,
    z: “25.12”,
    label: 2013
    },
    {
    y: “32.99”,
    z: “32.99”,
    label: 2014
    },
    {
    y: “38.26”,
    z: “38.26”,
    label: 2015
    },
    {
    y: “41.03”,
    z: “41.03”,
    label: 2016
    }
    ]
    },
    {
    type: “pie”,
    legendText: “Immunization_in_Lakh”,
    showInLegend: true,
    dataPoints: [
    {
    y: “198.78”,
    z: “198.78”,
    label: 2012
    },
    {
    y: “147.57”,
    z: “147.57”,
    label: 2013
    },
    {
    y: “10.87”,
    z: “10.87”,
    label: 2014
    },
    {
    y: “163.31”,
    z: “163.31”,
    label: 2015
    },
    {
    y: “296.45”,
    z: “296.45”,
    label: 2016
    }
    ]
    },
    {
    type: “pie”,
    legendText: “Artificial_Insemination_in_Lakh”,
    showInLegend: true,
    dataPoints: [
    {
    y: “24.63”,
    z: “24.63”,
    label: 2012
    },
    {
    y: “24.14”,
    z: “24.14”,
    label: 2013
    },
    {
    y: “3.0”,
    z: “3.0”,
    label: 2014
    },
    {
    y: “26.31”,
    z: “26.31”,
    label: 2015
    },
    {
    y: “26.2”,
    z: “26.2”,
    label: 2016
    }
    ]
    }
    ]

    This is my data and I am getting this pic:
    https://ibb.co/fXg13d

    Se the image what is the region for this kind of behaviour

    #21865

    @nilayy1234,

    Can you kindly create jsfiddle reproducing the issue so that we can look into your code, understand the scenario better and help you out?


    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.