MPAndroidchart 两个轴重叠 [英] MPAndroidchart two Axes overlapping
问题描述
我有一个图表,其中两个 yAxes 上都显示了两个数据集.然而,这些数据集相互重叠.有没有办法像分组图表一样在一个标签上并排显示它们
I have a chart with two datasets displayed on both yAxes. However these datasets overlap each other. Is there a way to display them like a grouped chart side by side over one label
如果我使用 chart.groupBars(0f, 0.8f, 0.1f)
图表被切断,因为条形宽度没有正确缩放.
If i use chart.groupBars(0f, 0.8f, 0.1f)
the chart gets cut off because the bar width does not scale correctly.
推荐答案
对于这个图表库的任何问题
For any problem on this charts lib
下载&跑步https://github.com/PhilJay/MPAndroidChart/tree/master/MPChartExample
根据需要对您希望使用视图实施的示例图表进行更改.
Make changes to the sample chart you wish to implement with view as required.
听起来很长,但我们可以在文档的帮助下了解库的工作,并且不会陷入问题
Sounds long cut, but we get to understand the working of library with help of documentation and don't get stuck in issues
这篇关于MPAndroidchart 两个轴重叠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!