MPAndroidChart bar values hide when zooming in - android

I have a horizontal bar chart using minimal code.
The problem is that when I am zooming in the values on the bars disappear.
Before:
After:
The values reappear if -while zoomed in- I drag the chart to the start of the Axis (and disappear again if I drag away).
Is this the expected behavior? Any way to change it?
edit: https://github.com/PhilJay/MPAndroidChart/issues/4131

Related

Animate centerViewTo(xIndex , yVal, AxisDependency in MPAndroidChart

I am using centerViewTo method in MPandroid chart in which the chart centers itself to a bar on which the user clicks.
But the centering happens very fast . I want to slow down this process by using some kind of animation or some duration. So the transition becomes smooth.
How to do that?

Android achartengine : bar chart - bars appear upside down

Am trying out to plot some values using achartengine in an Android App. The values in y axis are usually negative. This is how the bar chart appears
But I want it to appear from the bottom i.e. I want each bar to start from -100, instead of the current 0. How do I do this? Please help.
I suggest you build a range bar chart instead of the current bar chart. Another suggestion is to use renderer.setBarWidth(widthInPixels) in order to set the width of the bars. This method works best when you have only one item per series.

Bar Graph (android) disappear when go to negative x axis

I am creating a Bar graph in android using agraphchart library, when I go to negative x Axis and zero point then bar graph just disappear.
Can anyone help my with this?

AChartEngine move bar graph

I have implemented a bar graph using AChartEngine. I have added all the required values to the dataset as an XYSeries.The graph is drawn with the first 10 bars drawn when the app is started.I want to programmatically move the graph to a point further on the X-axis i.e I want to move the graph programmatically to display bars 25-35 or some other bars on X-axis.
Could someone please tell me how this can be achieved?
You first need to modify the visible range for the X axis:
renderer.setXAxisMin(25);
renderer.setXAxisMax(35);
Then, just call repaint() on your chart view:
chartView.repaint();

Horizontal bar chart using Achartengine

I have created Horizontal bar chart successfully, but
in which i have 20 items but i want to display 5 items on y-axis and others are display when scroll down..
Is there any function or way to solve this.
I have asked question with image on this url : how to ellipsize label of y-axis with bar chart using achartengine
You can control the visibility of the items by restricting the visible area:
renderer.setXAxisMin(minX);
renderer.setXAxisMax(maxX);
There are similar APIs for the Y axis.

Categories

Resources