IV84996: Charts with a secondary data source render incorrectly


We have found an AnyChart issue where if you have a metric which has a secondary data source, and the secondary data source doesn’t have any data, then the whole chart will display with a maximum y-axis of 1. It is probably defining the min and max axis by the secondary data source and ignoring whatever data is on the primary chart when setting the ranges.

Charts with a secondary data source do not render correctly. The first part of the issue was that the secondary data source with no data was forcing the chart min/max to the default. The second part of the issue was that the y-axis scale formatting was not taking precision into consideration. The first part of the fix is to prevent the default chart min/max from being set if the secondary data source has no data. The second part of the fix factors in precision to the y-scale formatting logic.

Continue reading

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s