We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Maximum value of Y not change when show/hide series

Thread ID:





147786 Sep 24,2019 09:32 AM UTC Oct 3,2019 11:32 AM UTC jQuery 3
Tags: ejChart
Asked On September 24, 2019 09:32 AM UTC

When show or hide series maximum of Y value of axis does not change according to attached screenshot.

Attachment: Screenshot_43379169.zip

Kalaimathi Chellaiah [Syncfusion]
Replied On September 25, 2019 08:59 AM UTC

Hi Sutthipong, 
Greetings from Syncfusion. 
We have analyzed your query. From that, we would like to let you know that the maximum value of the multiple series calculates comparatively highest range in given series. We have tried to replicate the reported scenario at our end. Unfortunately, We are unable to reproduce the reported issue.  Here we have attached a sample which is used by testing. Please find below sample, 
Series Show 
Series Hide 
Since we are not aware of your exact scenario which the issue is reproduced. So Please share the following information which will be more helpful for further analysis and provide you the solution sooner. 

  • Try to reproduce the reported scenario in the above sample
  • Please share your sample (or) code snippet with full configurations.

  • Share the details if you have done any other customization in your sample.
  • Share your dataSource file
  • Share the details whether you have mentioned any range in axis.


Replied On October 3, 2019 08:30 AM UTC

In my scenario the chart is stacked column chart when hide some series the maximum of Y axis still become sum of all series even though some series is hidden.

Based on example on https://jsplayground.syncfusion.com/Sync_0dsc3xgu hide some series but maximum Y value of axis still the same

Kalaimathi Chellaiah [Syncfusion]
Replied On October 3, 2019 11:32 AM UTC

Hi Sutthipong, 
Thanks for the update. 
We have analyzed your query with attached sample. From that we suspect that the problem is occurred due to the max range set into the axis. This is not an issue, that is the default behavior of an chart axis. So we suggest to remove maximum range from your sample. We have modified the attached sample. In that range is updating properly when show or hide the series. Please find below sample, 
Code Snippet: 
              title: { text: 'Number of visitors in Millions' }, 
              range: { min: 0, interval: 400 } 
Initial Rendering 
After series hide 

Kindly check the above sample and revert us, if still you have faced any problems. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon