Package 

Class XAxis


  • 
    public class XAxis
    extends AxisBase
                        

    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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum XAxis.XAxisPosition

      enum for the position of the x-labels relative to the chart

    • Constructor Summary

      Constructors 
      Constructor Description
      XAxis()
    • Method Summary

      Modifier and Type Method Description
      XAxis.XAxisPosition getPosition() returns the position of the x-labels
      void setPosition(XAxis.XAxisPosition pos) sets the position of the x-labels
      float getLabelRotationAngle() returns the angle for drawing the X axis labels (in degrees)
      void setLabelRotationAngle(float angle) sets the angle for drawing the X axis labels (in degrees)
      void setAvoidFirstLastClipping(boolean enabled) if set to true, the chart will avoid that the first and last label entryin the chart "clip" off the edge of the chart or the screen
      boolean isAvoidFirstLastClippingEnabled() returns true if avoid-first-lastclipping is enabled, false if not
      • Methods inherited from class com.github.mikephil.charting.components.AxisBase

        addLimitLine, addLimitRange, calculate, disableAxisLineDashedLine, disableGridDashedLine, enableAxisLineDashedLine, enableGridDashedLine, getAxisLineColor, getAxisLineDashPathEffect, getAxisLineWidth, getAxisMaxLabels, getAxisMaximum, getAxisMinLabels, getAxisMinimum, getFormattedLabel, getGranularity, getGridColor, getGridDashPathEffect, getGridLineWidth, getLabelCount, getLimitLines, getLimitRanges, getLongestLabel, getLongestLabel, getSpaceMax, getSpaceMin, getSpecificPositions, getValueFormatter, isAxisLineDashedLineEnabled, isAxisMaxCustom, isAxisMinCustom, isCenterAxisLabelsEnabled, isDrawAxisLineEnabled, isDrawGridLinesBehindDataEnabled, isDrawGridLinesEnabled, isDrawLabelsEnabled, isDrawLimitLinesBehindDataEnabled, isForceLabelsEnabled, isGranularityEnabled, isGridDashedLineEnabled, isShowSpecificPositions, removeAllLimitLines, removeAllLimitRanges, removeLimitLine, removeLimitRange, resetAxisMaximum, resetAxisMinimum, setAxisLineColor, setAxisLineDashedLine, setAxisLineWidth, setAxisMaxLabels, setAxisMaxValue, setAxisMaximum, setAxisMinLabels, setAxisMinValue, setAxisMinimum, setCenterAxisLabels, setDrawAxisLine, setDrawGridLines, setDrawGridLinesBehindData, setDrawLabels, setDrawLimitLinesBehindData, setGranularity, setGranularityEnabled, setGridColor, setGridDashedLine, setGridLineWidth, setLabelCount, setLabelCount, setShowSpecificPositions, setSpaceMax, setSpaceMin, setSpecificPositions, setTextColor, setValueFormatter
      • Methods inherited from class com.github.mikephil.charting.components.ComponentBase

        getTextColor, getTextSize, getTypeface, getXOffset, getYOffset, isEnabled, setEnabled, setTextColor, setTextSize, setTypeface, setXOffset, setYOffset
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XAxis

        XAxis()