amcharts / amcharts3

JavaScript Charts V3
Other
395 stars 129 forks source link

[Bug] recalculateToPercents on XY chart breaks chart #164

Open willhoney7 opened 6 years ago

willhoney7 commented 6 years ago

Hi there!

https://live.amcharts.com/ZlMzQ/

Here's a simple example of an XY chart (taken from the template). The only difference is the ValueAxis-2 has recalculateToPercents set to true. The chart is broken and shows a console error. If you uncheck recalculateToPercents it works again.

image

This looks like a bug to me, but maybe I'm doing something wrong? Thanks!

darlesson commented 6 years ago

recalculateToPercents is meant for Serial and Stock charts only.

The documentation was updated to clarify the usage. Unfortunately the editor can't disable functionalities based on the chart type.