Been working on some customization to the stock MX highcharts graphs.
I now can call to a mysql query then convert to json for the chart and it all works well ( just a lot of reading to get it to work)
Here is where I am stuck : I want the chart to open up at and a certain range say like 3 month's, 1 year or whatever I have added in
to just about every where within the function part of said chart depending on where i add i get either no render of the chart or it renders at the default full chart.
Ive even tried just selected: 0 within the range part already in the script and no matter where i use it within this part i get nothing
Code: Select all
rangeSelector: {
buttons: [{
count: 6,
type: 'hour',
text: '6h'
}, {
count: 12,
type: 'hour',
text: '12h'
}, {
type: 'all',
text: 'All'
}],
inputEnabled: false
}
Dont know if its something Ive overlooked or just using the wrong code for it.
Thanks,
Jeff