if set to true, the chart will avoid that the first and last label entry in the chart "clip" off the edge of the chart
the color of the border surrounding the chart.
the path effect of the axis line that makes dashed lines possible
the width of the border surrounding the chart in dp.
the total range of values this axis covers
Set a suggested maximum value for this axis. If set, this will be used as maximum is no value is greater than it.
Set a suggested minimum value for this axis. If set, this will be used as minimum is no value is greater than it.
Centers the axis labels instead of drawing them at their original position. This is useful especially for grouped BarChart.
chart it belongs to
When enabled the limitlines will be clipped to contentRect, otherwise they can bleed outside the content rect.
custom line renderer
flag that indicates if the line alongside the axis is drawn or not
flag indicating if the grid lines for this axis should be drawn
When enabled the grid lines are draw on top of the actual data, otherwise behind. Default: true
flag that indicates of the labels of this axis should be drawn or not
When enabled the labels are drawn behind the actual data, otherwise on top. Default: false
flag indicating if the limit lines are drawn
When enabled the LimitLines are drawn behind the actual data, otherwise on top. Default: false
flag indicating the mark ticks should be drawn
flag that indicates if this axis / legend is enabled or not
Defines if the renderer should ensure we always see the component fully
if true, the set number of y-labels will be forced
the minimum interval between axis values
When set, axis labels are controlled by the granularity
property.
When not set, axis values could possibly be repeated.
This could happen if two adjacent axis values are rounded to same value.
If using granularity this could be aed by having fewer axis values visible.
the color of the grid lines for this axis (the horizontal lines coming from each label).
the path effect of the grid lines that makes dashed lines possible
the width of the grid lines that are drawn away from each axis label.
the total range of values this axis covers
the number of label entries the axis should have, default 6
This is the angle for drawing the X axis labels (in degrees)
the labels text alignment of the axis labels.
Protected
mdon't touch this direclty, use setter
Protected
mdon't touch this directly, use setter
Protected
mcustom formatter that is used instead of the auto-formatter if set
axis label entries only used for centered labels
Protected
mflag indicating that the axis-max value has been customized
Protected
mflag indicating that the axis-min value has been customized
the number of decimal digits to use
the actual array of entries
the number of entries the legend contains
height of the x-axis labels in pixels - this is automatically calculated by the computeSize() methods in the renderers
height of the (rotated) x-axis labels in pixels - this is automatically calculated by the computeSize() methods in the renderers
width of the (rotated) x-axis labels in pixels - this is automatically calculated by the computeSize() methods in the renderers
width of the x-axis labels in pixels - this is automatically calculated by the computeSize() methods in the renderers
Protected
marray of limit lines that can be set for the axis
Protected
mthe text size of the labels
the position of the x-labels relative to the chart
Extra spacing for axisMaximum
to be added to automatically calculated axisMaximum
Extra spacing for axisMinimum
to be added to automatically calculated axisMinimum
the text color to use for the labels
the typeface used for the labels
the offset in pixels this component has on the x-axis
the offset in pixels this component has on the Y-axis
Set a custom maximum value for this axis. If set, this value will not be calculated automatically depending on the provided data. Use resetAxisMaxValue() to undo this.
Set a custom minimum value for this axis. If set, this value will not be calculated automatically depending on the provided data. Use resetAxisMinValue() to undo this. Do not forget to call setStartAtZero(false) if you use this method. Otherwise, the axis-minimum value will still be forced to 0.
returns the Typeface used for the labels, returns null if none is set
Font
sets a specific Typeface for the labels
Returns the longest formatted label (in terms of characters), this axis contains.
returns the text size that is currently set for the labels, in pixels
sets the size of the label text in density pixels min = 6f, max = 24f, default 10
the text size, in DP
Returns the formatter used for formatting the axis labels.
Sets the formatter to be used for formatting the axis labels. If no formatter is set, the chart will automatically determine a reasonable formatting (concerning decimals) for all the values that are drawn inside the chart. Use chart.defaultValueFormatter to use the formatter calculated by the chart.
Enables the axis line to be drawn in dashed mode, e.g. like this "- - - - - -". THIS ONLY WORKS IF HARDWARE-ACCELERATION IS TURNED OFF. Keep in mind that hardware acceleration boosts performance.
the length of the line pieces
the length of space in between the pieces
offset, in degrees (normally, use 0)
Enables the grid line to be drawn in dashed mode, e.g. like this "- - - - - -". THIS ONLY WORKS IF HARDWARE-ACCELERATION IS TURNED OFF. Keep in mind that hardware acceleration boosts performance.
the length of the line pieces
the length of space in between the pieces
offset, in degrees (normally, use 0)
Class representing the x-axis labels settings. Only use the setter methods to modify it. Do not access public variables directly. Be aware that not all features the XLabels class provides are suitable for the RadarChart.