javascript - Highcharts X-Axis value not completely displayed -


when try view chart, data on x-axis not displayed. here exemple: http://jsfiddle.net/zn4y45pl/

options.xaxis.categories.push(this.innerhtml); alert(this.innerhtml); 

this shows me data.

any ideas on what's problem? thanks!

the problem creating each of points separate series. instead, create 1 series , push points data array:

        // data series         options.series = [{             name: this.innerhtml,             data: []         }];         $init('td', table).each(function (j) {             options.series[0].data.push(parsefloat(this.innerhtml));         }); 

and demo: http://jsfiddle.net/zn4y45pl/2/


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -