MCPcopy Create free account

hub / github.com/JinBoy23520/MPAndroidChartDemoByJin / functions

Functions1,887 in github.com/JinBoy23520/MPAndroidChartDemoByJin

MethodsetDragOffsetY
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
MethodsetDragTriggerDist
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
MethodsetDrawBarShadow
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
MethodsetDrawBarShadow
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
MethodsetDrawFilled
(boolean filled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/LineRadarDataSet.java:116
MethodsetDrawHighlightCircleEnabled
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:40
MethodsetDrawHighlightCircleEnabled
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/interfaces/datasets/IRadarDataSet.java:14
MethodsetDrawHighlightIndicators
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
MethodsetDrawMarkerViews
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1369
MethodsetDrawOrder
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
MethodsetDrawSliceText
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
MethodsetDrawSlicesUnderHole
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
MethodsetDrawTopYLabelEntry
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
MethodsetDrawValueAboveBar
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
MethodsetDrawValueAboveBar
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
MethodsetDrawValues
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
MethodsetDrawValues
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:363
MethodsetDrawWeb
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
MethodsetEnableDashedLine
(boolean enable)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/newchart/LineChartEntity.java:164
MethodsetEndTime
(String endTime)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:141
MethodsetEntryLabelTypeface
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
MethodsetExtra
(List<LegendEntry> entries)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/Legend.java:338
MethodsetFillFormatter
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
MethodsetForm
(Legend.LegendForm form)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:327
MethodsetFormLineDashEffect
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
MethodsetFormLineDashEffect
(DashPathEffect dashPathEffect)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:354
MethodsetFormLineWidth
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
MethodsetFormLineWidth
(float formLineWidth)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:345
MethodsetFormSize
(float formSize)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:336
MethodsetFormToTextSpace
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
MethodsetGridDashedLine
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
MethodsetHardwareAccelerationEnabled
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
MethodsetHigh
(float mShadowHigh)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleEntry.java:109
MethodsetHighLightAlpha
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
MethodsetHighLightColor
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
MethodsetHighlightCircleFillColor
(int color)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:52
MethodsetHighlightCircleInnerRadius
(float radius)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:89
MethodsetHighlightCircleOuterRadius
(float radius)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:100
MethodsetHighlightCircleStrokeAlpha
(int alpha)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:78
MethodsetHighlightCircleStrokeColor
(int color)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:67
MethodsetHighlightCircleStrokeWidth
(float strokeWidth)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/RadarDataSet.java:111
MethodsetHighlightCircleWidth
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
MethodsetHighlightCircleWidth
(float width)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BubbleDataSet.java:21
MethodsetHighlightDrawPos
(Highlight high, RectF bar)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/renderer/HorizontalBarChartRenderer.java:338
MethodsetHighlightEnabled
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
MethodsetHighlightEnabled
(boolean enabled)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:255
MethodsetHighlightLineWidth
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
MethodsetHoleDisenabled
()
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/newchart/PieChartEntity.java:73
MethodsetIncreasingColor
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
MethodsetIncreasingPaintStyle
Sets paint style when open < close @param paintStyle
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleDataSet.java:247
MethodsetInverted
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
MethodsetKeepPositionOnRotation
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
MethodsetKpiName
(String kpiName)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:79
MethodsetKpiType
(int kpiType)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:87
MethodsetKpiValue
(String kpiValue)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:145
MethodsetLabel
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
MethodsetLabel
###### ###### OTHER STYLING RELATED METHODS ##### ######
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BaseDataSet.java:245
MethodsetLabel
(String label)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/PieEntry.java:69
MethodsetLabel
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
MethodsetLabelPosition
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
MethodsetLabels
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
MethodsetLastHighlighted
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
MethodsetLineColor
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
MethodsetLineWidth
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
MethodsetList
(List<Source> list)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/SourceEntity.java:95
MethodsetLogEnabled
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
MethodsetLow
(float mShadowLow)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleEntry.java:122
MethodsetMarkerView
(IMarker v)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/Chart.java:1217
MethodsetMaxAngle
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
MethodsetMaxHighlightDistance
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
MethodsetMaxSizePercent
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
MethodsetMaxVisibleValueCount
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
MethodsetMaxWidth
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
MethodsetMinOffset
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
MethodsetMinOffset
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
MethodsetMonthDatas
(List<WeekEntity> monthDatas)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:99
MethodsetMonthEntries
(List<BarEntry> monthEntries)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/MonthItemEntity.java:107
MethodsetNegativeColor
(String negativeColor)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/BarEntity.java:104
MethodsetNeutralColor
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
MethodsetNeutralColor
(String neutralColor)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/BarEntity.java:88
MethodsetNoDataTextColor
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
MethodsetNoDataTextTypeface
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
MethodsetNormalizeSizeEnabled
(boolean normalizeSize)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/BubbleDataSet.java:68
MethodsetOffset
(MPPointF offset)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/MarkerView.java:55
MethodsetOffset
(MPPointF offset)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/components/MarkerImage.java:54
MethodsetOnChartGestureListener
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
MethodsetOnChartValueSelectedListener
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
MethodsetOnDrawListener
Sets the OnDrawListener @param drawListener
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarLineChartBase.java:1000
MethodsetOnTouchListener
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
MethodsetOpen
(float mOpen)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/data/CandleEntry.java:148
MethodsetOverviewName
(String overviewName)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/TextBarDataEntity.java:30
MethodsetPaint
(Paint p, int which)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/charts/BarLineChartBase.java:1543
MethodsetPaint
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
MethodsetPhase
(float phase)
MPAndroidChartDemo/MPChartLib/src/main/java/com/github/mikephil/chart_3_0_1v/jobs/AnimatedViewPortJob.java:45
MethodsetPhaseX
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
MethodsetPhaseY
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
MethodsetPosition
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
MethodsetPosition
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
MethodsetPositiveColor
(String positiveColor)
MPAndroidChartDemo/app/src/main/java/com/barchart/mpchartdemo/entity/BarEntity.java:72
MethodsetRenderer
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
← previousnext →1,701–1,800 of 1,887, ranked by callers