Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JinBoy23520/MPAndroidChartDemoByJin
/ functions
Functions
1,887 in github.com/JinBoy23520/MPAndroidChartDemoByJin
⨍
Functions
1,887
◇
Types & classes
223
Method
setDragOffsetY
Set an offset in dp that allows the user to drag the chart over it's bounds on the y-axis. @param offset
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarLineChartBase.java:1448
Method
setDragTriggerDist
Sets the minimum distance that will be interpreted as a "drag" by the chart in dp. Default: 3dp @param dragTriggerDistance
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/listener/BarLineChartTouchListener.java:549
Method
setDrawBarShadow
If set to true, a grey area is drawn behind each bar that indicates the maximum value. Enabling his will reduce performance by about 50%. @param enab
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarChart.java:178
Method
setDrawBarShadow
If set to true, a grey area is drawn behind each bar that indicates the maximum value. Enabling his will reduce performance by about 50%. @param enab
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/CombinedChart.java:185
Method
setDrawFilled
(boolean filled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/LineRadarDataSet.java:116
Method
setDrawHighlightCircleEnabled
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:40
Method
setDrawHighlightCircleEnabled
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/interfaces/datasets/IRadarDataSet.java:14
Method
setDrawHighlightIndicators
Enables / disables both vertical and horizontal highlight-indicators. @param enabled
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/LineScatterCandleRadarDataSet.java:50
Method
setDrawMarkerViews
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1369
Method
setDrawOrder
Sets the order in which the provided data objects should be drawn. The earlier you place them in the provided array, the further they will be in the b
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/CombinedChart.java:224
Method
setDrawSliceText
Set this to true to draw the entry labels into the pie slices (Provided by the getLabel() method of the PieEntry class). Deprecated -> use setDrawEntr
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/PieChart.java:603
Method
setDrawSlicesUnderHole
Enable or disable the visibility of the inner tips of the slices behind the hole
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/PieChart.java:372
Method
setDrawTopYLabelEntry
set this to true to enable drawing the top y-label entry. Disabling this can be helpful when the top y-label and left x-label interfere with each othe
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/YAxis.java:178
Method
setDrawValueAboveBar
If set to true, all values are drawn above their bars, instead of below their top. @param enabled
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarChart.java:159
Method
setDrawValueAboveBar
If set to true, all values are drawn above their bars, instead of below their top. @param enabled
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/CombinedChart.java:174
Method
setDrawValues
Enables / disables drawing values (value-text) for all DataSets this data object contains. @param enabled
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/ChartData.java:726
Method
setDrawValues
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:363
Method
setDrawWeb
If set to true, drawing the web is enabled, if set to false, drawing the whole web is disabled. Default: true @param enabled
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/RadarChart.java:292
Method
setEnableDashedLine
(boolean enable)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/newchart/LineChartEntity.java:164
Method
setEndTime
(String endTime)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:141
Method
setEntryLabelTypeface
Sets a custom Typeface for the drawing of the entry labels. @param tf
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/PieChart.java:640
Method
setExtra
(List<LegendEntry> entries)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/Legend.java:338
Method
setFillFormatter
Sets a custom IFillFormatter to the chart that handles the position of the filled-line for each DataSet. Set this to null to use the default logic. @
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/LineDataSet.java:396
Method
setForm
(Legend.LegendForm form)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:327
Method
setFormLineDashEffect
Sets the line dash path effect used for shapes that consist of lines. @param dashPathEffect
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/Legend.java:677
Method
setFormLineDashEffect
(DashPathEffect dashPathEffect)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:354
Method
setFormLineWidth
sets the line width in dp for forms that consist of lines, default 3f @param size
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/Legend.java:659
Method
setFormLineWidth
(float formLineWidth)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:345
Method
setFormSize
(float formSize)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:336
Method
setFormToTextSpace
sets the space between the form and the actual label/text, converts to dp internally @param space
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/Legend.java:742
Method
setGridDashedLine
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 t
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/AxisBase.java:529
Method
setHardwareAccelerationEnabled
Setting this to true will set the layer-type HARDWARE for the view, false will set layer-type SOFTWARE. @param enabled
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1702
Method
setHigh
(float mShadowHigh)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleEntry.java:109
Method
setHighLightAlpha
Set the alpha value (transparency) that is used for drawing the highlight indicator bar. min = 0 (fully transparent), max = 255 (fully opaque) @param
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BarDataSet.java:216
Method
setHighLightColor
Sets the color that is used for drawing the highlight indicators. Dont forget to resolve the color using getResources().getColor(...) or Color.rgb(...
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BarLineScatterCandleBubbleDataSet.java:31
Method
setHighlightCircleFillColor
(int color)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:52
Method
setHighlightCircleInnerRadius
(float radius)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:89
Method
setHighlightCircleOuterRadius
(float radius)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:100
Method
setHighlightCircleStrokeAlpha
(int alpha)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:78
Method
setHighlightCircleStrokeColor
(int color)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:67
Method
setHighlightCircleStrokeWidth
(float strokeWidth)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:111
Method
setHighlightCircleWidth
Sets the width of the circle that surrounds the bubble when highlighted for all DataSet objects this data object contains, in dp. @param width
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BubbleData.java:29
Method
setHighlightCircleWidth
(float width)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BubbleDataSet.java:21
Method
setHighlightDrawPos
(Highlight high, RectF bar)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/renderer/HorizontalBarChartRenderer.java:338
Method
setHighlightEnabled
Enables / disables highlighting values for all DataSets this data object contains. If set to true, this means that values can be highlighted programma
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/ChartData.java:737
Method
setHighlightEnabled
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:255
Method
setHighlightLineWidth
Sets the width of the highlight line in dp. @param width
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/LineScatterCandleRadarDataSet.java:69
Method
setHoleDisenabled
()
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/newchart/PieChartEntity.java:73
Method
setIncreasingColor
Sets the one and ONLY color that should be used for this DataSet when open <= close. @param color
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleDataSet.java:213
Method
setIncreasingPaintStyle
Sets paint style when open < close @param paintStyle
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleDataSet.java:247
Method
setInverted
If this is set to true, the y-axis is inverted which means that low values are on top of the chart, high values on bottom. @param enabled
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/YAxis.java:189
Method
setKeepPositionOnRotation
Sets whether the chart should keep its position (zoom / scroll) after a rotation (orientation change)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarLineChartBase.java:1230
Method
setKpiName
(String kpiName)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:79
Method
setKpiType
(int kpiType)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:87
Method
setKpiValue
(String kpiValue)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:145
Method
setLabel
Sets the label that is drawn next to the limit line. Provide "" if no label is required. @param label
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/LimitLine.java:202
Method
setLabel
###### ###### OTHER STYLING RELATED METHODS ##### ######
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:245
Method
setLabel
(String label)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/PieEntry.java:69
Method
setLabel
Sets the label string that describes the DataSet. @param label
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/interfaces/datasets/IDataSet.java:254
Method
setLabelPosition
Sets the position of the LimitLine value label (either on the right or on the left edge of the chart). Not supported for RadarChart. @param pos
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/LimitLine.java:183
Method
setLabels
Sets the labels that should be drawn around the RadarChart at the end of each web line. @param labels
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarData.java:36
Method
setLastHighlighted
Sets the last value that was highlighted via touch. @param high
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/listener/ChartTouchListener.java:90
Method
setLineColor
Sets the linecolor for this LimitLine. Make sure to use getResources().getColor(...) @param color
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/LimitLine.java:106
Method
setLineWidth
set the line width of the chart (min = 0.2f, max = 10f); default 1f NOTE: thinner line == better performance, thicker line == worse performance @para
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/LineRadarDataSet.java:102
Method
setList
(List<Source> list)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/SourceEntity.java:95
Method
setLogEnabled
Set this to true to enable logcat outputs for the chart. Beware that logcat output decreases rendering performance. Default: disabled. @param enabled
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1148
Method
setLow
(float mShadowLow)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleEntry.java:122
Method
setMarkerView
(IMarker v)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1217
Method
setMaxAngle
Sets the max angle that is used for calculating the pie-circle. 360f means it's a full PieChart, 180f results in a half-pie-chart. Default: 360f @par
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/PieChart.java:711
Method
setMaxHighlightDistance
Sets the maximum distance in screen dp a touch can be away from an entry to cause it to get highlighted. Default: 500dp @param distDp
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:475
Method
setMaxSizePercent
The maximum relative size out of the whole chart view. / If the legend is to the right/left of the chart, then this affects the width of the legend. /
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/Legend.java:828
Method
setMaxVisibleValueCount
sets the number of maximum visible drawn values on the chart only active when setDrawValues() is enabled @param count
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarLineChartBase.java:1042
Method
setMaxWidth
Sets the maximum width that the axis can take (in dp). @param maxWidth
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/YAxis.java:142
Method
setMinOffset
Sets the minimum offset (padding) around the chart, defaults to 15.f
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarLineChartBase.java:1216
Method
setMinOffset
Sets the minimum offset (padding) around the chart, defaults to 0.f
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/PieRadarChartBase.java:415
Method
setMonthDatas
(List<WeekEntity> monthDatas)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:99
Method
setMonthEntries
(List<BarEntry> monthEntries)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:107
Method
setNegativeColor
(String negativeColor)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/BarEntity.java:104
Method
setNeutralColor
Sets the one and ONLY color that should be used for this DataSet when open == close. @param color
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleDataSet.java:198
Method
setNeutralColor
(String neutralColor)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/BarEntity.java:88
Method
setNoDataTextColor
Sets the color of the no data text. @param color
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1176
Method
setNoDataTextTypeface
Sets the typeface to be used for the no data text. @param tf
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1185
Method
setNormalizeSizeEnabled
(boolean normalizeSize)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BubbleDataSet.java:68
Method
setOffset
(MPPointF offset)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/MarkerView.java:55
Method
setOffset
(MPPointF offset)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/MarkerImage.java:54
Method
setOnChartGestureListener
Sets a gesture-listener for the chart for custom callbacks when executing gestures on the chart surface. @param l
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1002
Method
setOnChartValueSelectedListener
set a selection listener for the chart @param l
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:992
Method
setOnDrawListener
Sets the OnDrawListener @param drawListener
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarLineChartBase.java:1000
Method
setOnTouchListener
Set a new (e.g. custom) ChartTouchListener NOTE: make sure to setTouchEnabled(true); if you need touch gestures on the chart @param l
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:687
Method
setOpen
(float mOpen)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleEntry.java:148
Method
setOverviewName
(String overviewName)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/TextBarDataEntity.java:30
Method
setPaint
(Paint p, int which)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarLineChartBase.java:1543
Method
setPaint
set a new paint object for the specified parameter in the chart e.g. Chart.PAINT_VALUES @param p the new paint object @param which Chart.PAINT_VA
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1335
Method
setPhase
(float phase)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/jobs/AnimatedViewPortJob.java:45
Method
setPhaseX
This modifys the x-phase that is used to animate the values. @param phase
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/animation/ChartAnimator.java:306
Method
setPhaseY
This modifys the y-phase that is used to animate the values. @param phase
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/animation/ChartAnimator.java:288
Method
setPosition
Sets a custom position for the description text in pixels on the screen. @param x - xcoordinate @param y - ycoordinate
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/Description.java:60
Method
setPosition
sets the position of the y-labels @param pos
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/YAxis.java:158
Method
setPositiveColor
(String positiveColor)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/BarEntity.java:72
Method
setRenderer
Sets a new DataRenderer object for the chart. @param renderer
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1428
← previous
next →
1,701–1,800 of 1,887, ranked by callers