Configuring Minor Ticks and Grid Lines
"Minor" tick marks and grid lines are drawn in between major tick marks and grid lines. Adding them provides an additional visual reference without adding additional axis labels. Minor tick marks and grid lines can be configured using the Minor Ticks and Grid child element.
In the example shown above, the Minor Ticks and Grid element's Tick Interval attribute has been set to 1,250. Minor grid lines can be customized in a number of ways, including color, width, and transparency. Tick marks can be customized similarly and their length, position and interval can also be set.
The Tick Interval is sensitive to the axis data type. For DateTime data, you can select standard values including Years, Weeks,Hours and more. For Numeric data, you should enter a numeric value, such as 100 or 1000. The default value, Auto, automatically calculates the Tick Interval based on the data values.
If used with a linear axis and the standard value, Auto, is selected, the minor Tick Interval will be calculated as one fifth of the Major Tick Interval value.
Setting the Tick Interval for numeric data to an unrealistically small value will cause an error when the chart is rendered. For example, using a value of 2 for the chart above will cause the Logi engine to time-out after attempting to render 25,000 tick marks and labels.
Comments
0 comments
Please sign in to leave a comment.