What steps will reproduce the problem?
1. use a series type that contains 'I' character in its name eg. SeriesType.LINE
2. set the JVM language to Turkish with argument -Duser.language=tr
3. navigate to the page that contains the chart
What is the expected output? What do you see instead?
Chart is not rendered. javascript console shows the following error:
Uncaught Highcharts error #17: www.highcharts.com/errors/17
What version of the product are you using? On what operating system?
wicked charts 1.5.0 and apache wicket 6.10.0
Please provide any additional information below.
In Turkish locale, the lowercase of character 'I' is 'ı' not 'i'. That causes
SeriesType.SPLINE to be transformed into "splıne" in javascript code.
var chart11Options = {
"chart" : {
"renderTo" : "chart11",
"type" : "splıne",
"events" : {
"load" : function(){}
}
},
Since "splıne" is not a recognized series type, higcharts throws exception #17
and chart is not rendered.
As a workaround server language can be set to English.
-Duser.language=en
Original issue reported on code.google.com by ali...@gmail.com on 21 Dec 2013 at 9:50
Original issue reported on code.google.com by
ali...@gmail.com
on 21 Dec 2013 at 9:50