Note that there are some explanatory texts on larger screens.

plurals
  1. POHighCharts pointPlacement option not working in a single column chart
    text
    copied!<p>It looks like pointPlacement is not working with a single column...</p> <blockquote> <p>The point placement can also be numeric, where 0 is on the axis value, -0.5 is between this value and the previous, and 0.5 is between this value and the next. Unlike the textual options, numeric point placement options won't affect axis padding.</p> </blockquote> <p>Like in the example below where i removed this data it doesn't work anymore:</p> <pre><code>{ name: 'Employees Optimized', color: 'rgba(126,86,134,.9)', data: [140], pointPadding: 0.4, pointPlacement: -0.2 },{ name: 'Profit', color: 'rgba(248,161,63,1)', data: [183.6], pointPadding: .3, pointPlacement: 0.2, yAxis: 1 } </code></pre> <p><a href="http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/plotoptions/series-pointplacement-numeric/" rel="nofollow">http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/plotoptions/series-pointplacement-numeric/</a></p> <p>This jsfiddle shows the usual pointplacement option. If you adjust this fiddle and remove 2 of the 3 data-sets, the pointplacement option is broken, while even in that case it should still be usefull to have and working, even required in my case...</p> <p><em>edit</em></p> <p>I added this into a fiddle because the only one responding so far didn't get the point from the code example. So here it is: <a href="http://jsfiddle.net/dargno/3YMyq/" rel="nofollow">http://jsfiddle.net/dargno/3YMyq/</a></p> <p>If anyone knows a possible solution without having to "hack" the source code i'd really appreciate it.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload