It is currently Thu Oct 23, 2014 5:07 pm Advanced search

StockChart column chart issue

Technical support for the Highcharts Stock package

StockChart column chart issue

Postby glundy1984 » Thu Feb 09, 2012 5:29 pm

Hi,

I am attempting to display 96 values throughout a day at 15 minute intervals. The Stock Chart draws correctly as a line chart but it won't draw the bars in a column chart until I increase the chart width to 1000px (I haven't determined the exact value when it fails to draw). The chart is currently 800px wide and increasing it to 1000px isn't going to work in our application. Note, both line and column chart work fine for 48 values throughout a day at 30 minute intervals. I've tried reducing the pointPadding, pointWidth and a tickered with a few other attributes with no luck. Any ideas?

Many thanks
Gerard
glundy1984
 
Posts: 6
Joined: Thu Aug 04, 2011 1:01 pm

Re: StockChart column chart issue

Postby glundy1984 » Thu Feb 09, 2012 5:40 pm

A few screenshots:

column_no_bars.png
column_no_bars.png (7.48 KiB) Viewed 607 times


line.png
line.png (21.94 KiB) Viewed 607 times
glundy1984
 
Posts: 6
Joined: Thu Aug 04, 2011 1:01 pm

Re: StockChart column chart issue

Postby hfrntt » Mon Feb 13, 2012 4:17 pm

Are you rendering stock chart? Using "new Highcharts.StockChart()"? Could you set up a demo to show us what you have now? You can use http://highcharts.com/jsbin
Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am

Re: StockChart column chart issue

Postby glundy1984 » Mon Feb 13, 2012 5:41 pm

I've just found a fix. I think the data grouping is getting triggered within the code. I assume due to the number of columns and charting region width limitation. The following got the software to draw the columns:
plotOptions: {
column: {
dataGrouping : {
enabled: false
}
}
}
Is this behaviour correct or is it a bug?

Thanks
Gerard
glundy1984
 
Posts: 6
Joined: Thu Aug 04, 2011 1:01 pm

Re: StockChart column chart issue

Postby hfrntt » Sat Feb 18, 2012 2:08 am

I don't think so but it's difficult to say without the demo.
Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am


Return to Highstock Usage

Who is online

Users browsing this forum: No registered users and 0 guests