jQuery UI Widgets › Forums › Chart › problem with jqx-chart-axis-text (string goes numeric)
This topic contains 6 replies, has 2 voices, and was last updated by existenz 8 years, 7 months ago.
-
Author
-
Hi. Have a very strange problem.
One JSON structure. Two differet Data. First at jqxChart contains string xAxis labels. Another contains numeric xAxis labels.
But in the JSON both has string labels. Whats the problem?

Well. I can repeat this problem in Chart Studio

As i can find, the problem describes like that:
– if all data labels contains incremental numbers with space ( 1, 2, 3) etc – jqxChart thinks that its date and tried to parse it in ms formatThis is a freaky
That is misconfiguration. You can explicitly say the type of the data. I suggest you to examine more in depth the documentation and demos. Especially, I would recommend the usage of jqxDataAdapter and setting the data type of each data field there.
Regards,
PeterIf i could, i configured each series in each chart. But task is simple – data structure for chart can be changeable. Number of cols. Type of cols. Type of chart. All of it is dinamically received by json.
So i cant write “hardcode setting” for “if it is the first column then sets string format”.
By the way. In chart studio as i see jqxDataAdapter already has type configuration. But in jqxChart still numbers instead of labels.
Can you describe, what is the right way for setting Labels format (especially in the Chart Studio)

Problem not only with cyrrilic labels. japaneese also crashed

The addition of localization did not solve the problem.
Problem not solved. Help. Please.
-
AuthorPosts
You must be logged in to reply to this topic.