achartengine toScreenPoint(double) always returns nullPointerException

前端 未结 1 1261
天涯浪人
天涯浪人 2020-12-21 04:19

Every time I call this method it return nullpointerexception:

java.lang.NullPointerException at org.achartengine.chart.XYChart.toScreenPoint(XYChart.java:867)

相关标签:
1条回答
  • 2020-12-21 04:30

    There used to be this bug in an older version of AChartEngine. I suggest you update to 1.1.0.

    Also, please note that the chart must have been already displayed when calling the method. If the chart didn't display on screen then there is no way to calculate that.

    0 讨论(0)
提交回复
热议问题