Forum Replies Created by dollarb71

Viewing 3 posts - 1 through 3 (of 3 total)
  • in reply to: Chart with Multiple Columns per Month #25224

    That works! Thanks so much for your help!

    in reply to: Chart with Multiple Columns per Month #25211

    Thanks! That’s exactly what I need but still run into a problem when I replace your code below:
    var csvData = [
    { “label”: “Bill”, “month”: “January”, “y”: 11 },
    { “label”: “Chris”, “month”: “January”, “y”: 13 },
    { “label”: “Jesse”, “month”: “January”, “y”: 18 },
    { “label”: “Lilia”, “month”: “January”, “y”: 65 },
    { “label”: “Bill”, “month”: “February”, “y”: 7 },
    { “label”: “Chris”, “month”: “February”, “y”: 56 },
    { “label”: “Jesse”, “month”: “February”, “y”: 32 },
    { “label”: “Lilia”, “month”: “February”, “y”: 65 }
    ];

    with this

    var csvData = [];
    $.getJSON( “JSON/tcm/data.json”, function( data){
    csvData = data;
    });

    When I look at the console in Chrome I don’t see any errors but I get a blank chart.

    in reply to: Chart with Multiple Columns per Month #25132

    Thank you. I would like to create one JSON file with all the data in it to create the chart you made. I’m having trouble getting it to work though. I can do it if I create an JSON file for each month but that is not ideal way to do it. Can I do it if my JSON file looks something like this?

    [
    {“label”: “Bill”,”month”: “January”,”y”: 11},
    {“label”: “Chris”,”month”: “January”,”y”: 13},
    {“label”: “Jesse”,”month”: “January”,”y”: 18},
    {“label”: “Lilia”,,”month”: “January””y”: 65},
    {“label”: “Bill”,”month”: “February”,”y”: 7},
    {“label”: “Chris”,”month”: “February”,”y”: 56},
    {“label”: “Jesse”,”month”: “February”,”y”: 32},
    {“label”: “Lilia”,,”month”: “JFebruary””y”: 65}
    ]

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