MPAndroidChart
MPAndroidChart copied to clipboard
A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Fatal Exception: java.lang.ArrayIndexOutOfBoundsException length=0; index=1 com.github.mikephil.charting.renderer.YAxisRenderer.drawYLabels (YAxisRenderer.java:127) com.github.mikephil.charting.renderer.YAxisRenderer.renderAxisLabels (YAxisRenderer.java:88) com.github.mikephil.charting.charts.BarLineChartBase.onDraw (BarLineChartBase.java:267) android.view.View.draw (View.java:20207) android.view.View.updateDisplayListIfDirty (View.java:19082) android.view.View.draw (View.java:19935) android.view.ViewGroup.drawChild (ViewGroup.java:4333) android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112) android.view.View.updateDisplayListIfDirty (View.java:19073) android.view.View.draw (View.java:19935) android.view.ViewGroup.drawChild (ViewGroup.java:4333) android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112) android.view.View.updateDisplayListIfDirty...
Fatal Exception: java.lang.NullPointerException Attempt to read from null array com.github.mikephil.charting.renderer.BarChartRenderer.drawDataSet (BarChartRenderer.java:138) com.github.mikephil.charting.renderer.BarChartRenderer.drawData (BarChartRenderer.java:82) com.github.mikephil.charting.renderer.CombinedChartRenderer.drawData (CombinedChartRenderer.java:89) com.github.mikephil.charting.charts.BarLineChartBase.onDraw (BarLineChartBase.java:237) android.view.View.draw (View.java:20207) android.view.View.updateDisplayListIfDirty (View.java:19082) android.view.View.draw (View.java:19935) android.view.ViewGroup.drawChild (ViewGroup.java:4333) android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112) android.view.View.updateDisplayListIfDirty (View.java:19073) android.view.View.draw...
https://github.com/PhilJay/MPAndroidChart/assets/30893047/f5f07608-2374-4839-9cba-845c15a2b4ed
Drawing combined chart with line and bara data. All procedure with graph in try-catch block and still crashes. Is it expected behaviour? (Off top. There also was errors, if i...
com.github.mikephil.charting.utils.Transformer.generateTransformedValuesLine (Transformer.java:178) com.github.mikephil.charting.renderer.LineChartRenderer.drawValues (LineChartRenderer.java:549) com.github.mikephil.charting.charts.BarLineChartBase.onDraw (BarLineChartBase.java:278) android.view.View.draw (View.java:23898) android.view.View.updateDisplayListIfDirty (View.java:22767) android.view.ViewGroup.recreateChildDisplayList (ViewGroup.java:5339) android.view.ViewGroup.dispatchGetDisplayList (ViewGroup.java:5311) android.view.View.updateDisplayListIfDirty (View.java:22714) android.view.ViewGroup.recreateChildDisplayList (ViewGroup.java:5339) android.view.ViewGroup.dispatchGetDisplayList (ViewGroup.java:5311) android.view.View.updateDisplayListIfDirty (View.java:22714) android.view.ViewGroup.recreateChildDisplayList (ViewGroup.java:5339) android.view.ViewGroup.dispatchGetDisplayList (ViewGroup.java:5311) android.view.View.updateDisplayListIfDirty (View.java:22714) android.view.ViewGroup.recreateChildDisplayList (ViewGroup.java:5339)...
I have used a cusom markeview . i want to change the arrow position when user touch the line chart . if the position of point is top the tooltip...
Using Latest Version 4.5.0 Compare both the results, some of results were empty **CAMERA Image result in ANDROID 10 Results** { **"originalUri": {}**, "rotation": 90, "sampleSize": 1, **"uriContent": {},** >...
Made model base objects ChartData, Entry and DataSet serializable hopefully covering the whole model this way
Hi @PhilJay !  i am looking for this graph which indicate the percentage of battery charge over the time. whenever the battery is charge it should show that green...
val gradientColors: MutableList = ArrayList() gradientColors.add(GradientColor(Color.parseColor("#3375FE"), Color.parseColor("#BADF47"))) gradientColors.add(GradientColor(Color.parseColor("#F65272"), Color.parseColor("#DEDBF4"))) dataSet.gradientColors = gradientColors I am using this but it is not working, while normal colors working fine.