Customize number of ticks on axis and label for data points
Answered
Hi
How can I control the number of ticks displayed at each axis and show the value as label on each data point in a line series graph.
Currently ticks are automatically spaced and there's no option to see value as label on each data point.
An example of how it's needed is as below
Kind Regards
Usman
Hi Usman,
Thanks for reaching out. There is no way to change the number of ticks or how they are spaced. Your chart appears to be using Time Series, whereby the spacing and placement of the axis labels are automatically set depending on your data set. There was an existing enhancement request to allow more flexibility in Time Series, but this is not going to be implemented as unfortunately the issue here is actually related to the charting library (JFree) we use.
From the devs: "The way it works is that, when first creating your chart, it looks at your data and does it's best to draw the charting area to ensure it all fits. However it does not always check every single label (to save on performance time). There is no straight forward way to get around this with the library, there are ways for us to create our own functions, but we're talking about a large time-sink of dev time for this, and honestly for the amount of times we see this issue, the effort vs result just does not line up."
In terms of the second chart you have attached, depending on your data set, you can try setting your Horizontal Chart Axis > Style > Rotate Axis Label to 45 Up and see if that gives you additional labels:
And finally, on the point of labeling points on a line chart. This feature is available as of 2 builds ago. Which build of 7.4 are you using? That setting can be found in the Label icon:
Please let me know if you have any further questions.
Regards,
Mike
Hi Usman,
Thanks for reaching out. There is no way to change the number of ticks or how they are spaced. Your chart appears to be using Time Series, whereby the spacing and placement of the axis labels are automatically set depending on your data set. There was an existing enhancement request to allow more flexibility in Time Series, but this is not going to be implemented as unfortunately the issue here is actually related to the charting library (JFree) we use.
From the devs: "The way it works is that, when first creating your chart, it looks at your data and does it's best to draw the charting area to ensure it all fits. However it does not always check every single label (to save on performance time). There is no straight forward way to get around this with the library, there are ways for us to create our own functions, but we're talking about a large time-sink of dev time for this, and honestly for the amount of times we see this issue, the effort vs result just does not line up."
In terms of the second chart you have attached, depending on your data set, you can try setting your Horizontal Chart Axis > Style > Rotate Axis Label to 45 Up and see if that gives you additional labels:
And finally, on the point of labeling points on a line chart. This feature is available as of 2 builds ago. Which build of 7.4 are you using? That setting can be found in the Label icon:
Please let me know if you have any further questions.
Regards,
Mike
Hi Usman,
Thanks for your response. The upgrade process is a bit more involved for AWS instances than standard one's, but shouldn't be too complicated, though it will also take some knowledge from the AWS side of things. You can reference our Wiki entry on Yellowfin for AWS.
From the screen that looks like this (might be called AWS Instance Manager):
You should then have all the info required to SSH into your corresponding IP address and run the upgrade installer (there's plenty of AWS documentation on how to SSH into your Amazon ec2 instance, if you don't already know how to do this). The upgrade installer for Yellowfin that you'll need can be found here.
Please let me know if you have any further questions after giving these suggestions a shot.
Thanks,
Mike
Hi Usman,
Thanks for your response. The upgrade process is a bit more involved for AWS instances than standard one's, but shouldn't be too complicated, though it will also take some knowledge from the AWS side of things. You can reference our Wiki entry on Yellowfin for AWS.
From the screen that looks like this (might be called AWS Instance Manager):
You should then have all the info required to SSH into your corresponding IP address and run the upgrade installer (there's plenty of AWS documentation on how to SSH into your Amazon ec2 instance, if you don't already know how to do this). The upgrade installer for Yellowfin that you'll need can be found here.
Please let me know if you have any further questions after giving these suggestions a shot.
Thanks,
Mike
Replies have been locked on this page!