Package 

Class LineRadarDataSet

  • All Implemented Interfaces:
    com.github.mikephil.charting.interfaces.datasets.IBarLineScatterCandleBubbleDataSet , com.github.mikephil.charting.interfaces.datasets.IDataSet , com.github.mikephil.charting.interfaces.datasets.ILineRadarDataSet , com.github.mikephil.charting.interfaces.datasets.ILineScatterCandleRadarDataSet , java.io.Serializable

    
    public abstract class LineRadarDataSet<T extends Entry>
    extends LineScatterCandleRadarDataSet<T> implements ILineRadarDataSet<T>
                        

    Base dataset for line and radar DataSets.

    • Method Summary

      Modifier and Type Method Description
      int getFillColor() Returns the color that is used for filling the line surface area.
      void setFillColor(int color) Sets the color that is used for filling the area below the line.Resets an eventually set "fillDrawable".
      Drawable getFillDrawable() Returns the drawable used for filling the area below the line.
      void setFillDrawable(Drawable drawable) Sets the drawable to be used to fill the area below the line.
      int getFillAlpha() Returns the alpha value that is used for filling the line surface,default: 85
      void setFillAlpha(int alpha) sets the alpha value (transparency) that is used for filling the linesurface (0-255), default: 85
      void setLineWidth(float width) set the line width of the chart (min = 0.
      float getLineWidth() Returns the stroke-width of the drawn line
      void setDrawFilled(boolean filled) Set to true if the DataSet should be drawn filled (surface), and not justas a line, disabling this will give great performance boost.
      boolean isDrawFilledEnabled() Returns true if filled drawing is enabled, false if not
      • Methods inherited from class com.github.mikephil.charting.data.LineScatterCandleRadarDataSet

        disableDashedHighlightLine, enableDashedHighlightLine, getDashPathEffectHighlight, getHighlightLineWidth, isDashedHighlightLineEnabled, isHorizontalHighlightIndicatorEnabled, isVerticalHighlightIndicatorEnabled, setDrawHighlightIndicators, setDrawHorizontalHighlightIndicator, setDrawVerticalHighlightIndicator, setHighlightLineWidth
      • Methods inherited from class com.github.mikephil.charting.data.BarLineScatterCandleBubbleDataSet

        getHighLightColor, setHighLightColor
      • Methods inherited from class com.github.mikephil.charting.data.DataSet

        addEntry, addEntryOrdered, calcMinMax, calcMinMaxY, clear, copy, getEntries, getEntriesForXValue, getEntryCount, getEntryForIndex, getEntryForXValue, getEntryForXValue, getEntryIndex, getEntryIndex, getValues, getXMax, getXMin, getYMax, getYMin, removeEntry, setEntries, setValues, toSimpleString, toString
      • Methods inherited from class com.github.mikephil.charting.data.BaseDataSet

        addColor, contains, getAxisDependency, getColor, getColors, getForm, getFormLineDashEffect, getFormLineWidth, getFormSize, getIconsOffset, getIndexInEntries, getLabel, getValueColors, getValueFormatter, getValueTextColor, getValueTextSize, getValueTypeface, isDrawIconsEnabled, isDrawValuesEnabled, isHighlightEnabled, isVisible, needsFormatter, notifyDataSetChanged, removeEntry, removeEntryByXValue, removeFirst, removeLast, resetColors, setAxisDependency, setColor, setColors, setDrawIcons, setDrawValues, setForm, setFormLineDashEffect, setFormLineWidth, setFormSize, setHighlightEnabled, setIconsOffset, setLabel, setValueFormatter, setValueTextColor, setValueTextColors, setValueTextSize, setValueTypeface, setVisible
      • Methods inherited from class com.github.mikephil.charting.interfaces.datasets.IDataSet

        contains, getAxisDependency, getColor, getColor, getColors, getEntryForXValue, getEntryIndex, getEntryIndex, getForm, getFormLineDashEffect, getFormLineWidth, getFormSize, getIconsOffset, getIndexInEntries, getLabel, getValueFormatter, getValueTextColor, getValueTextColor, getValueTextSize, getValueTypeface, isDrawIconsEnabled, isDrawValuesEnabled, isHighlightEnabled, isVisible, needsFormatter, removeEntry, removeEntryByXValue, removeFirst, removeLast, setAxisDependency, setDrawIcons, setDrawValues, setHighlightEnabled, setIconsOffset, setLabel, setValueFormatter, setValueTextColor, setValueTextColors, setValueTextSize, setValueTypeface, setVisible
      • Methods inherited from class com.github.mikephil.charting.interfaces.datasets.IBarLineScatterCandleBubbleDataSet

        getHighLightColor
      • Methods inherited from class com.github.mikephil.charting.interfaces.datasets.ILineScatterCandleRadarDataSet

        getDashPathEffectHighlight, getHighlightLineWidth, isHorizontalHighlightIndicatorEnabled, isVerticalHighlightIndicatorEnabled
      • Methods inherited from class com.github.mikephil.charting.interfaces.datasets.ILineRadarDataSet

        setDrawFilled
      • Methods inherited from class java.lang.Object

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

      • LineRadarDataSet

        LineRadarDataSet(List<T> yVals, String label)
    • Method Detail

      • getFillColor

         int getFillColor()

        Returns the color that is used for filling the line surface area.

      • setFillColor

         void setFillColor(int color)

        Sets the color that is used for filling the area below the line.Resets an eventually set "fillDrawable".

      • setFillDrawable

         void setFillDrawable(Drawable drawable)

        Sets the drawable to be used to fill the area below the line.

      • getFillAlpha

         int getFillAlpha()

        Returns the alpha value that is used for filling the line surface,default: 85

      • setFillAlpha

         void setFillAlpha(int alpha)

        sets the alpha value (transparency) that is used for filling the linesurface (0-255), default: 85

      • setLineWidth

         void setLineWidth(float width)

        set the line width of the chart (min = 0.2f, max = 10f); default 1f NOTE:thinner line == better performance, thicker line == worse performance

      • getLineWidth

         float getLineWidth()

        Returns the stroke-width of the drawn line

      • setDrawFilled

         void setDrawFilled(boolean filled)

        Set to true if the DataSet should be drawn filled (surface), and not justas a line, disabling this will give great performance boost. Please note that this methoduses the canvas.clipPath(...) method for drawing the filled area.For devices with API level < 18 (Android 4.3), hardware acceleration of the chart shouldbe turned off. Default: false

      • isDrawFilledEnabled

         boolean isDrawFilledEnabled()

        Returns true if filled drawing is enabled, false if not