The bubble can not change radius
When i use this method
setViewportCalculationEnabled(false)
in bubbleChart。And resetBubbleViewport like this
private void resetBubbleViewport() {
final Viewport v = new Viewport(columnChart.getMaximumViewport());
v.bottom = 0;
v.top = endYNum + 20;
v.left = -2;
v.right = (float) BUBBLES_NUM + 2;
bubbleChart.setMaximumViewport(v);
bubbleChart.setCurrentViewport(v);
}
bubbles can not change radius. Every bubble only with default radius, can not change with Z order.
But when i
setViewportCalculationEnabled(true),
every thing is ok.
How can bubble change radius by Z order at the same time setViewportCalculationEnabled(false) ???
I'm having the same problem. The changes in x and y values are displayed as expected but the change in the z value isn't displaying. The bubble radius remains the same.
this worked for me:
tune bubbleScale field of your BubbleChartData , where you set your data (values) in chart, somewhere such as:
bubbleChartData = BubbleChartData(values)
you must tune bubbleChartData.bubbleScale , for example:
bubbleChartData.bubbleScale= 0.2f