When I hide number of series from a chart that is using a CombinedDomainXYPlot, all range axes are auto rescaled nicely. Howver, the domain axis does not get rescaled. Is there any way to manually refresh scaling, or perhaps there is a setting I am missing to enable auto scaling of a domain axis in this setting?
Share
ANSWERING MY OWN QUESTION:
I managed to refresh the axis using a little hack:
It is not nice but it does the trick. Nevertheless, I wish someone could post a nicer solution…
Here is the code using non-custom data set that does not work. Please run it and then click on a big button called click multiple times to hide a few series. The domain axis is not rescaled.