Home forums Using CanvasJS JSON to stacked Column chart

This topic contains 1 reply, has 2 voices, and was last updated by  Priyanka M S 2 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22516

    manjitbang
    Member

    i have json data which i am trying to assign to chart but its not working .

    Data :-
    ———————————————————–
    [
    {“CustName”:”abc”,”E1Exceptions”:905,”E2Exceptions”:3158,”E3Exceptions”:17892,”ManuallyEntered”:3,”Overriden”:1310}
    ,{“CustName”:”xyz”,”E1Exceptions”:1907,”E2Exceptions”:814,”E3Exceptions”:116,”ManuallyEntered”:0,”Overriden”:0}
    ,{“CustName”:”edf”,”E1Exceptions”:11725,”E2Exceptions”:12502,”E3Exceptions”:40104,”ManuallyEntered”:0,”Overriden”:0}
    ,{“CustName”:”test”,”E1Exceptions”:841,”E2Exceptions”:613,”E3Exceptions”:294,”ManuallyEntered”:91,”Overriden”:882}
    ,{“CustName”:”test2″,”E1Exceptions”:2901,”E2Exceptions”:4679,”E3Exceptions”:12535,”ManuallyEntered”:590,”Overriden”:4380}
    ,{“CustName”:”test3″,”E1Exceptions”:20,”E2Exceptions”:842,”E3Exceptions”:850,”ManuallyEntered”:1,”Overriden”:36}
    ,{“CustName”:”test4″,”E1Exceptions”:0,”E2Exceptions”:0,”E3Exceptions”:486,”ManuallyEntered”:0,”Overriden”:0}
    ]
    ————————————————————-
    CustName will be Label text for graph
    and correspondence values will be 5 stacks in a Column .

    #22531

    Priyanka M S
    Member

    @manjitbang,

    Please take a look at this jsfiddle.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.