highcharts - Trying Highstock to convert very old graph application but no display -
i in process of moving built in graph library highstock.
i have comply crasy implementations. @ end got configuration :
$(function() { chart = new highcharts.stockchart({ chart : { renderto : 'div_#divid#' }, rangeselector : { selected : 0, buttons: [{ type: 'day', count: 7, text: '7j' }, { type: 'day', count: 15, text: '15j' }, { type: 'day', count: 30, text: '30j' }, { type: 'all', text: 'tous' }] }, series : [{ type : 'column', name : 'valeur', data : data, tooltip: { valuedecimals: 2 } }] }); }); here fiddled version.
i don't whats wrong data. (but think did correctly conversion dates.)
[[1362355200000,672],[1362441600000,9764],[1362528000000,9839],[1362614400000,9906], [1362700800000,9973],[1362787200000,9906],[1362873600000,10592],[1362960000000,11236], [1363046400000,13233],[1363132800000,0],[1363219200000,0],[1363305600000,0],[1363392000000,0],[1363478400000,0],[1363564800000,0],[1363651200000,0],[1363737600000,0],[1363824000000,0],[1363910400000,0],[1363996800000,0],[1364083200000,0],[1364169600000,0],[1364256000000,0],[1364342400000,0],[1364428800000,0],[1364515200000,0],[1364601600000,0],[1364688000000,0],[1364770800000,0],[1364857200000,0],[1364943600000,0],[1365030000000,0],[1365116400000,0],[1365202800000,0],[1365289200000,0],[1365375600000,0],[1365462000000,0],[1365548400000,0],[1365634800000,0],[1365721200000,0],[1365807600000,0],[1365894000000,0],[1365980400000,0],[1366066800000,0],[1366153200000,0],[1366239600000,0],[1366326000000,0],[1366412400000,0],[1366498800000,0],[1366585200000,0],[1366671600000,0],[1366758000000,0],[1366844400000,0],[1366930800000,0],[1367017200000,0],[1367103600000,0],[1367190000000,0],[1367276400000,0],[1367362800000,0],[1367449200000,5490]] thanks help.
i'm not sure, problem can't see chart? that's cause data contains '
check jsfiddle: http://jsfiddle.net/sqzy2/1/ have this:
data = '[[1362355200000,672],[1362441600000,9764],[1367103600000,0],[1367190000000,0],[1367276400000,0],[1367362800000,0],[1367449200000,5490]]'; must this:
data = [[1362355200000,672],[1362441600000,9764],[1362528000000,9839],[1362614400000,9906],[1367103600000,0],[1367190000000,0],[1367276400000,0],[1367362800000,0],[1367449200000,5490]];
Comments
Post a Comment