jQuery UI Widgets › Forums › Chart › jqx ver 5.6. textRotationAngle
Tagged: jqxChart, textRotationAngle
This topic contains 10 replies, has 3 voices, and was last updated by Stanislav 6 years, 9 months ago.
-
Author
-
Hi,
I think there is small bug in latest version of jqx 5.6.0 regarding textRotationAngle in CategoryAxis.
If you define textRotationAngle with anything but zero labels are gone from the chart in latest version.
I have tested with previous (I do not know which) version of JQX and labels are there and rotated by the angle specified.
So this setting is not working in 5.6.0categoryAxis: { text: 'Category Axis', textRotationAngle: 90, dataField: 'Day', showTickMarks: true, valuesOnTicks: false, tickMarksInterval: 1, tickMarksColor: '#888888', unitInterval: 1, gridLinesInterval: 1, gridLinesColor: '#888888', axisSize: 'auto' },
Cheers
Hello atomic,
I tested a couple of cases and found nothing unusual.
Can you please send us an example, a fiddle or snippet, for a more detailed analyze?Best Regards,
StanislavjQWidgets Team
http://www.jqwidgets.com/Hi Stanisalav,
I cannot provide jsFiddle since in fiddle online reference
(https://jqwidgets.com/public/jqwidgets/jqx-all.js) points to version 5.4.0/* jQWidgets v5.4.0 (2017-Oct) Copyright (c) 2011-2017 jQWidgets. License: https://jqwidgets.com/license/ */
which works fine.
Problem is with version 5.6.0Hello atomic,
I tested your example again.
Everything worked fine, after setting thetextRotationAngle
to90 > 60 > 10 > -10 > -60
the labels didn’t hide, they stayed in their places and were shown as should be.
Maybe you are getting something else that breaks your chart. Please review your code!Best Regards,
StanislavjQWidgets Team
http://www.jqwidgets.com/Hi Stanislav,
Plese check:
https://jsfiddle.net/7Lny616f/17/This is reference to ver 5.4.0.
if you reference it to jqx-all.js ver 5.60 It is notworking…Best regards
Probably related: https://www.jqwidgets.com/community/topic/text-rotation-broken/
Hello lbosma, atomic,
We tested all your examples again on:
Chrome(latest version) x64 and FireFox(latest version) x64
Visual Studio 17 and Visual Studio 15
On the latest version of jqWidgets 5.6.0It all worked fine, and nothing was unordinary.
Best Regards,
StanislavjQWidgets Team
http://www.jqwidgets.com/Hi Stanislav,
Could you please update this link
https://jqwidgets.com/public/jqwidgets/jqx-all.js
with 5.6.0. version.
Currently on this link is 5.4.0. version of JQXThanks
Hi Stanislav,
I made a testcase with identical code from this demo:
https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxchart/javascript_chart_line_series.htmv5.4.0 from jqwidgets.com (working testcase)
https://jsfiddle.net/h8w3xsqy/6/
v5.6.0 from github (broken testcase)
https://jsfiddle.net/h8w3xsqy/5/Please ignore the “Error loading “../sampledata/nasdaq_vs_sp500.txt” : Not Found” message.
The only difference is the included jqx-all.js
Please read https://www.jqwidgets.com/community/topic/text-rotation-broken/ carefully. I still believe you can’t reproduce our problem because your source seems to be different than the one we download.
Regards,
L Bosma
Any updates?
ThanksHello atomic,
We will discuss this with the team and we will try to find a solution.
Thank you for your patience!Best Regards,
StanislavjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.