It is currently Tue Sep 02, 2014 8:48 am Advanced search

Squeezed part of chart

Technical support for the Highcharts Stock package

Squeezed part of chart

Postby MichakRoman » Wed Feb 08, 2012 3:36 pm

So the problem is that chart shows different distansies between the bars on left(Link2) and right(Link1) sides of itself.. It's somehow squeezed up a part of itself. Because of that it also represent the lines abnormally. It seems like they r broken in "transition point", although they are really straight line.. You can recheck it by reducing the range of chart. In some point it becomes represent correct distances between bars and line becomes straight as it should be. Please respond if anyone know how to fix this.. Would appreciate any answers or suggestions. Thanx


Link1: http://jsfiddle.net/Yru4K/
Link2: http://jsfiddle.net/qgHPJ/
MichakRoman
 
Posts: 3
Joined: Wed Jan 18, 2012 5:44 pm

Re: Squeezed part of chart

Postby MichakRoman » Fri Feb 10, 2012 10:32 am

I really need to fix it. Any ideas?
MichakRoman
 
Posts: 3
Joined: Wed Jan 18, 2012 5:44 pm

Re: Squeezed part of chart

Postby hfrntt » Tue Feb 14, 2012 12:57 am

Hi sorry for late reply (it's partially your fault - you bumped the topic but I reply from the bottom). I'm not quite following you, could you explain a bit more what's exactly wrong here?
Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am

Re: Squeezed part of chart

Postby MichakRoman » Tue Feb 14, 2012 4:19 pm

Hello.. Please recheck this link
http://jsfiddle.net/qgHPJ/

Pay attention to the left part of the chart.. the visual distances between the bars is less than on the other part of it.. for example in the center distances between bars is bigger that on the right side of it.. because of this it paints the lines wrong.. it deforming the upper line(it must to be straight, not broken line).. You can see this if You try reduce the range at least twice - You will be able to see that this line displaying correct.. and with the full range it incorrect..

but I think the main problem, and the thing that cause all those problems that it displaying wrong the distances between the bars.. it's somehow squeezed in the right hand of the chart.. why is that? How can I solve this issue?
MichakRoman
 
Posts: 3
Joined: Wed Jan 18, 2012 5:44 pm

Re: Squeezed part of chart

Postby hfrntt » Wed Feb 22, 2012 1:23 am

Hi sorry for late reply. I suppose that with this amount of points in such a narrow chart there could occur some issues related to translating values to pixels (pixels have to be integers). However the issue disappears when dataGrouping is enabled.
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 4 guests