I've created a sample chart in jsfiddle, but I can't achieve the same results with GWT Highcharts. the first problem I've run into is I can't create a line marker for the bar chart, the only options available in the enumeration is triangle, square and circle. The second issue, which I can't explain, is the graphs don't overlap correctly as they do with the js code.
In order to add a new symbol type you'd need to add extend Highcharts to support a new symbol renderer function to the Javascript of your page somewhere, like is shown at the top of that jsFiddle you referenced. E.g.
The rest of your function looked close, but the YAxis appear to have been set wrong. Here's an updated version of that function that renders identically to the jsFiddle (minus the custom symbol renderer). Note that this code uses the updated "BarPlotOptions" coming in the 1.1.3 release that contains additional properties that weren't there in the 1.1.2 release, as that's the version I had in my development environment to test against. If you're using 1.1.2 you'll need to use the BarPlotOptions.setOption() method to set those properties instead.
I've created a sample chart in jsfiddle, but I can't achieve the same results with GWT Highcharts. the first problem I've run into is I can't create a line marker for the bar chart, the only options available in the enumeration is triangle, square and circle. The second issue, which I can't explain, is the graphs don't overlap correctly as they do with the js code.
Any help would be appreciated.
Thanks
http://jsfiddle.net/tM6mS/
Hi Gary,
In order to add a new symbol type you'd need to add extend Highcharts to support a new symbol renderer function to the Javascript of your page somewhere, like is shown at the top of that jsFiddle you referenced. E.g.
The rest of your function looked close, but the YAxis appear to have been set wrong. Here's an updated version of that function that renders identically to the jsFiddle (minus the custom symbol renderer). Note that this code uses the updated "BarPlotOptions" coming in the 1.1.3 release that contains additional properties that weren't there in the 1.1.2 release, as that's the version I had in my development environment to test against. If you're using 1.1.2 you'll need to use the BarPlotOptions.setOption() method to set those properties instead.
Can you let me know if you're able to get things working the way you'd like using that example code?
Thanks,