Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
70 views

I’m working with MPAndroidChart (CombinedChart) for a cryptocurrency app (Android, Kotlin). My chart is a typical Binance-like candle chart (candlestick + volume below) with “load more” support: When ...
asdcvf's user avatar
  • 199
0 votes
0 answers
156 views

I am using MPAndroidChart to display a horizontal bar chart in portrait mode with vertical scrolling enabled. Here's my current code snippet: Map<String, Integer> genreData = new LinkedHashMap&...
VanessaF's user avatar
  • 717
0 votes
0 answers
45 views

I am developing a real-time BLE audio application on Android. The audio sampling rate is 16,000 samples per second, and I receive data in 100 packets per second, each packet having 160 samples (so ...
Shriharan's user avatar
0 votes
1 answer
147 views

I'm in Sdk 35. I've declared MPAndroidChart in my Android project: in TOML as mpandroidchart = "3.1.0" and mpandroidchart = { group = "com.github.PhilJay", name = "...
Zel's user avatar
  • 3
0 votes
1 answer
66 views

First of all english isn't my first language so please excuse errors. I'm using Android Studio, some years ago i wrote a simple app to store some data and generate different graphs (not in real time), ...
Moreno Forlani's user avatar
1 vote
0 answers
175 views

How to make pie chart code like this, I have used many libraries like MPAndroidChart for it but none of them prevents overlapping of labels my current approach with MPAndroidChart is val ds = ...
Kartik Sharma's user avatar
0 votes
1 answer
65 views

The following code takes a linechart view, turns into an PNG image and saves it on the phone. However, I want to adjust vertical or Top location of the linechart on the canvas. No matter what I try, ...
ThN's user avatar
  • 3,294
0 votes
1 answer
46 views

I am using MPAndroidChart to chart weather data. The app supports both portrait and landscape modes. The legend looks fine in portrait mode, however in landscape more there appears to be white text, ...
Dave Enstrom's user avatar
2 votes
1 answer
79 views

I have a LineChart where axisLeft.axisMinimum = -0.5f a set of points that are y=[0,0,3,0,0]. For some reason, the line starts plotting above the 0 grid line even though the value is 0. Why would a -0....
powerserg23's user avatar
0 votes
1 answer
54 views

I am on MPAndroidChart v.3.1.0 and I am using a LineChart. I have a continuous plot of data that starts at (0,0). Some Y will be positive but some points will be 0. My current graph looks like the ...
powerserg23's user avatar
0 votes
0 answers
54 views

I'm trying to draw a graph using MPAndroid line chart like the one below My issue is that I'm able to plot the loop above the X axis, but when I start drawing backwards, It gives me java.lang....
Sumit Mourya's user avatar
1 vote
0 answers
49 views

I'm working with a HorizontalBarChart in MPAndroidChart and need to customize the appearance of the labels, text and grid lines. Here's what I've tried so far: Removing and Adding bar labels: I've ...
Rudranil Bhattacharjee's user avatar
0 votes
1 answer
64 views

I have been exploring MPAndroidChart and came across this issue where the data point seem to be clipped off. Any ways to go about this without changing the axis minmax? Current Situation Tried various ...
zhang shichen's user avatar
0 votes
1 answer
46 views

i am facing an issue with a bar chart where the bars are not filling with the assigned colors properly. Instead, they appear as empty. I have tried various methods to set custom colors for the bars, ...
Liam Harpe's user avatar
0 votes
1 answer
273 views

I'm trying to import MPAndroidChart in my application in android studio. This is what I did so far. Added this in my settings.gradle.kts under repositories dependencyResolutionManagement { ...
Akira's user avatar
  • 15
0 votes
0 answers
251 views

I am trying to do this - dependencies { implementation("com.github.PhilJay:MPAndroidChart:v3.1.0") } Sync is successful but when I am running the app it is throwing these errors - ...
Ajay Satpati's user avatar
0 votes
0 answers
57 views

I am using the MPAndroidChart library and have implemented a LineChart. I have set the maximum and minimum values for both the x-axis and y-axis, and the width and height in the layout are set to ...
yikfrl's user avatar
  • 1
1 vote
0 answers
59 views

I have a c# chart that looks like the image. I need to make something similar in MPAndroidChart 3.1.0. But I cannot figure out how to set the xaxis tick marks (0,600,1200...) and label ( Energy(KeV) ...
dcarl661's user avatar
  • 322
1 vote
0 answers
61 views

I'm using a scatter plot where I want to use the background (image or programmatically) to immediately see which areas the dots are in. I have not been able to find solutions to this problem. How to ...
Roman Sinetsky's user avatar
0 votes
1 answer
168 views

I am trying to fill color between limit lines and have legend just like below - I tried using example given here - https://github.com/PhilJay/MPAndroidChart/issues/485 But unable to achieve. Last I ...
karanatwal.github.io's user avatar
0 votes
2 answers
1k views

I've been trying for a week different things I found on SO, including setting the granularity and the axis min and max values. Look at how neatly distributed the values on the y-axis are, the interval ...
Anon's user avatar
  • 45
2 votes
1 answer
293 views

I am using MPAndroidChart and I want to create a barchart. Actually this works fine. But the problem are the labels on the different bars. Somehow they just don't match. Only if I have exactly 3 bars, ...
VanessaF's user avatar
  • 717
1 vote
0 answers
67 views

At first My y value are these: arrayList1.add("math"); arrayList1.add("english"); arrayList1.add("biology"); ...
tong xi's user avatar
  • 11
0 votes
0 answers
324 views

I have a Android Studio project that using MPAndroidChart to create Chart. Whenever I try to upload the rar project to Google drive, I get flag that said the file is violated the policies from google, ...
LearningNew's user avatar
0 votes
0 answers
40 views

mpandroidchart piechart is very useful. But how can I show a start figure at the beginning of each slice? I have tried legends but it shows at the middle of each slice but I want to show it at the ...
TAN BING's user avatar
2 votes
1 answer
137 views

I have an app, where user can select date (from/to), list of currencies, and then, display chart with some data. The chart, is just stacked bar chart, from MPAndroidChart. Recently, I've implemented ...
SlipperyBarrel's user avatar
1 vote
0 answers
209 views

I am using MPAndroidChart Library(https://github.com/PhilJay/MPAndroidChart) to show bar items. Currently when I am trying to get focus on each individual item in the bar graph, I am not able to do so,...
Hiten Bahri's user avatar
0 votes
0 answers
117 views

In default of MPAndroidChart, if I set marker view and touch an value in chart, I can see a marker view about the value. And if I touch it again, the marker view disappears, as far as I know. At this ...
pigstoe's user avatar
  • 47
2 votes
1 answer
159 views

I am using MPAndroidChart to create a chart inside my application. I want to remove all the empty space that is not covered by the graph. As you can see, there are some empty spaces for all 4 sides. ...
AlbertKang1004's user avatar
0 votes
1 answer
378 views

There are method to add single circle hole color in the graph for all points. setCircleHoleColor(Color.RED); I am adding multiple circle colors using setCircleColors in LineDataSet like this : ...
Dhvani023's user avatar
  • 1,227
2 votes
1 answer
132 views

I am trying to implement the chart shown in Chart.js - essentially a scatter graph with two sets of connected data-sets. I have coded a scatter graph with the correct point distribution but struggle ...
nextural's user avatar
0 votes
1 answer
342 views

I'm trying to run this MPAndroidChart PieChart example, but getting the error: Unresolved reference: ViewGroup LayOutParams() shows Viewgroup as accepted input, but won't accept it. Am I right in ...
nextural's user avatar
0 votes
1 answer
319 views

I have a dataset that I would like to display using LineChart. However, the data is some times incomplete, and data is missing some timestamps. Is there a way to not display a line when the LineChart (...
Geir's user avatar
  • 11
0 votes
0 answers
270 views

I have the following code where I am trying to get data from Google Spreadsheets and create a Line Chart using MPAndroidChart in Kotlin. I could fetch the data successfully using the below code but ...
Codist's user avatar
  • 779
0 votes
0 answers
55 views

I have a GraphActivity class which includes all graph activities. Also Realtime Database are running in this class. The GraphActivity class is as below: package com.example.basardesktop; import ...
Berat Akdoğan's user avatar
1 vote
1 answer
292 views

Hi I am using this library https://github.com/PhilJay/MPAndroidChart and trying to draw line chart from Endpoint to Start point that is from right to left direction, I followed library document and ...
Hussain Shabbir's user avatar
2 votes
1 answer
74 views

I have a weird behavior happening to me, where I have a unique LineDataSet instance used across 2 different charts. This LineDataSet obtains its configuration BEFORE entering ANY one chart. Both ...
Delark's user avatar
  • 1,395
1 vote
0 answers
277 views

I am currently working on a project where I need to display a RadarChart using the MPAndroidChart library in my Android application. I have successfully plotted the data points on the chart, but now I ...
Maulik Gajera's user avatar
0 votes
1 answer
237 views

My data looks like this: { "id": "6e10e9fc-2d1f-4c5c-a1c5-d94d99ec55db", "air_temperature": 25.7, "timestamp": "2023-05-12 15:00:00", &...
rminaj's user avatar
  • 605
0 votes
0 answers
95 views

I want to achieve this kind of chart using MPAndroidChart. In particular. I have done all the necessary setup and particularly customized the chart to use the stepped mode below Val set1 = ...
Mike's user avatar
  • 41
1 vote
1 answer
484 views

Im having trouble with clipping x axis labels. The problem can be seen in the picture What I would like to change is that instead of the labels ending at that place, that they instead start at that ...
user avatar
1 vote
1 answer
180 views

I am trying to draw a polygon using MPAndroidChart in AndroidStudio in Kotlin for an Android developpment. I am facing a visual rendering problem. I am drawing 2 different polygons on 2 different ...
col625's user avatar
  • 13
1 vote
1 answer
140 views

In all the examples I have found when a linechart is filled (gradient or solid color) , this filling covers the gridlines and they dissapear. Is it possible to draw the gridlines over them? I have ...
jlsogorb's user avatar
1 vote
0 answers
129 views

I am trying to align my x axis data with the bars in the bar chart and also enable a scrolling to the left or right. I tried different methods but none worked. I am getting my x axis label from my ...
Ajay Satpati's user avatar
1 vote
1 answer
103 views

package com.example.communication; import androidx.appcompat.app.AppCompatActivity; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.os.Bundle; import android....
Nirvana's user avatar
  • 11
1 vote
1 answer
578 views

I'm having an issue in my app where adding a large number of data points, clearing them, adding a smaller number of datapoints causes the LineChart to not completely reach the end of the view. I ...
WHOATEMYNOODLES's user avatar
0 votes
1 answer
338 views

I'm trying to display a linechart with a Custom Marker class that's centered on the highlight line. .setHighLightColor(Color.WHITE); I can't figure out why only the first marker is not being centered ...
WHOATEMYNOODLES's user avatar
0 votes
1 answer
73 views

I using mpandroidchart library to plot candlestick chart, I am getting candlestick data from API. What I am trying to do now is: When I have data on my chart I want to save it so that I can retrieve ...
Coin Chain's user avatar
1 vote
0 answers
77 views

I have a custom view which is a wrapper over the Mp Android Chart library. It takes an implementation class that actually calls the methods of the MP Android Chart library. I want this implementation ...
In progress...'s user avatar
0 votes
1 answer
240 views

LineChart got smaller and even not visible when entries are above 50. It draws normally with 50 size of entries but with 51, 52 ... n it disappeared. Here is the example with 52 size of entries. Is ...
Mamikon Papikyan's user avatar

1
2 3 4 5
39