Labels in 3.6.2 Javascript graphs

Hi Team,

The new v3.6.2 JavaScript views have changed how the labels are displayed. Not sure if that is a good thing.

This is how it looked in v3.6.1

The same plots look like this in 3.6.2


The labels are not visible in most cases, especially in the horizontal bar chart. In my opinion the 3.6.1 version looks better than the 3.6.2

Is this a deliberate change?

Thank you,
Sudath

Hi Sudath,

thanks for mentioning this.
no it is not deliberate.
we applied some fixes to take care of responsiveness of the bar chart labels, ticks and mouseover tooltips.
the fix required us to set a maximum width to labels depending on the size of image,
so that you never have a chart that is squeezed out by the space used by the labels.
We are currently working on truncating them only when there is no other choice…
so they can stay long in most cases…

In the meanwhile you can fix your problem by changing the sizing of your browser window/svg output image.

For example if you leave the bar chart default options for the output svg file sizes (600x400) this is the output:

but if you instead give a bit more space (e.g. 900x400) you should be able to read the full size labels…

same goes when resizing the layout of a composite view…
in that case you should be making sure that the browser window is full screen
and that the bar chart takes a full row in the layout…

I hope this was useful
let me know if you need more guidance
cheers
Paolo

1 Like

Thank you Paolo.

For now I have downgraded to 3.6.1 as changing the resolution of the image did not work for me. I can change the image resolution only so much as I use it in the webportal.

Glad to know that you are working on the fix. Look forward to it in 3.7

Best,
Sudath

Solved in 3.7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.