2021.09.06 03:50 AM
Hi all!
below is the X axis of a Canvas Chart. this Canvas Chart has default settings for the X axis labels apart from the obvious rotation. As you can see, the final X labels are very close together, one is a step (I'm assuming automatically calculated as step size = 0 in the config), the other is the end of the axis.
Were it not for the rotation of the labels, these labels would overlap and be unreadable. This rotation is not an elegant or reliable fix however as in extreme cases we can still see the overlap, example below.
Is there a way to turn off the edge of Axis labels so that they don't overlap? the data shown in the graph can very in order of magnitude so manually setting a good step size that avoids this overlapping is not a solution for our use case.
2021.09.28 03:59 AM
Hello,
Great feedback! Thank you very much.
I have brought this to the attention of our Dashboard Team and they have identified this issue as bug in our charts. A ticket has been raised in acknowledgment and will be addressed in due course by our team.
Thank you for bringing this to our attention. We appreciate it.
Kind regards,
Leah
2021.09.07 10:31 AM
Hello,
Great question here! Thank you for sharing this with the community. The following should be helpful:
For a linear x-axis:
1) We can change the max rotation to 0. This will turn off the rotation of the labels.
2) We can change the format to Number/Formatted Number or Smart Number and this will automatically fix the labels without overlapping.
I have attached a supporting image.
I hope this helps resolve your query. Let us know if you have any further questions.
Kind regards,
Leah
2021.09.27 01:30 AM
Hi Leah,
Apologies for the delayed response, just got back from Annual leave.
Just to clarify the rotation of the labels isn't an issue, more of a work around to lessen the impact of the overlapping of the x axis ticks.
I tried changing the axis type as suggested but this didn't have an effect. I believe this is due to us having a manual min/max set on the axis.
We do this via viewstates using the below settings in canvas chart > XAXES > XAXIS 1 > RANGE
We do the above as we found that on loading the dashboard, the ranges of the graphs were strange and users had to double click or otherwise reset the zoom/range of all canvas charts before being able to interpret data on the dashboard.
Is there a solution to either the overlapping labels due to manual min/max or a solution to the strange canvas chart range on dashboard start up?
2021.09.28 03:59 AM
Hello,
Great feedback! Thank you very much.
I have brought this to the attention of our Dashboard Team and they have identified this issue as bug in our charts. A ticket has been raised in acknowledgment and will be addressed in due course by our team.
Thank you for bringing this to our attention. We appreciate it.
Kind regards,
Leah
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.