Skip to main content
Topic: bug in chart component (Read 1227 times) previous topic - next topic

bug in chart component

Hello,

I found a bug or quirck in with the chart component.
- with the LINE chart, click dataset to open properties.
- on Dataset properties there is LineTension.
- this is default set to.... in my case 0,1 (zero COMMA one).
--> A comma because in my country (as in almost  every other country in Europe) we use a comma as decimal symbol and a point/dot as a thousands separator.
- if nothing is changed and the default value is used, the graph will not display in the browser. And the browser will trigger a javascript error.
- when in PHPRad, I want to change the 0,1 to 0.1 (so changing the comma to a point), but then I cannot save the value.

A temporary fix:
1 - close PHPRad
2a - open Windows settings,
2b -select region,
2c -Click additional data,
2d -Click change date and time,
2e -Click additional settings,
2f -change decimal symbol from , to . and
2g -change Digit grouping symbol from . to ,
2 h-Click ok (or apply)
3. Open PHPRad and now you can change the LineTension from 0,1 to 0.1
OR
3. A new created Line chart now has the default value for LineTension that is 0.1