Format date and labels

More
7 years 4 months ago #5951 by Enric
Format date and labels was created by Enric
Hello.
It is possible to format the date that we are using along the X-Axis?
It is possible to set the label interval in the X-Axis?

With the default options, the date on X-Axis is visualized in 45º angle and is not seen completely. We only can see '2018-...'

In the graphic attached, we have set for Y-Axis 'Number Of Labels' = 10, 'Vertical Axis Values' 10..30 and we can't see this values.

How do we set the parameters values to obtain the desired visualization?

Thanks
Attachments:

Please Log in to join the conversation.

More
7 years 4 months ago #5952 by Daniel
Replied by Daniel on topic Format date and labels
Hello,
You need to choose date format for Horizontal values from the select box available the first tab on add/edit chart view.
You have to option to enter the number horizontal labels in formatting section. But if the values available for horizontal doesn't fit this number then it will choose the default values for the labels.

Thanks
Daniel

Please Log in to join the conversation.

More
7 years 4 months ago #5957 by Enric
Replied by Enric on topic Format date and labels
Hi, Daniel.

Thanks for your fast answer.

I achieved to fix the number of labels for the Y-Axis but not in the X-Axis. In the graph attached, for example, then Number of labels is fixed to 10. Maybe I don't understand exactly the terms 'if the values available for horizontal doesn't fit this number'. Can you explain in more detail please?

Another very important question: The values of this parameters, Number of labels, Font size,... and many others, must be fixed to an integer value (for example) or can assigned to a variable value that depends of the number of records obtained in the query?
I mean, can we change the value of some parameters dynamically?

Thanks.
Attachments:

Please Log in to join the conversation.

More
7 years 4 months ago #5971 by Daniel
Replied by Daniel on topic Format date and labels
Hi,
To make the number label work on X-Axis you need to choose date as data format for horizontal x-axis values.

It can not be made dynamic.

Thanks
Daniel

Please Log in to join the conversation.

Cron Job Starts