Current filter:
                                You should refresh the page.
                                Support Center
                                  • The Viewstate doesn't seem to be preserving the state of the WebChartControl properly when it has mutiple panes.

                                    Steps to Reproduce:

                                    See attached project Default.aspx


                                Ignore the rpinting issue - that's sorted. It's just the Viewstate issue I'm reporting here.


                                Sorry: the above should say *printing* issue ...


                                Hi Anthony,

                                We've managed to fix this issue on our side. The fix will be available with our next minor release.

                                But you need to change your code. You should define the names for the panes and secondary axes created via constructor, as follows:

                                public XYDiagramPaneBase AddPane(string caption, bool isBigCaption)
                                       AxisYBase yaxis;
                                       XYDiagramPaneBase pane;

                                       if (!_isDefaultPaneInitialised)
                                           // add a dummy series
                                           chartMain.Series.Add(new Series("dummy", ViewType.Bar));

                                           yaxis = Diagram.AxisY;
                                           pane = Diagram.DefaultPane;

                                           _isDefaultPaneInitialised = true;
                                           yaxis = new SecondaryAxisY(caption);
                                           pane = new XYDiagramPane(caption);
                                           Diagram.SecondaryAxesY.Add(yaxis as SecondaryAxisY);
                                           Diagram.Panes.Add(pane as XYDiagramPane);

                                       InitialiseYAxis(yaxis, caption);

                                       if (!isBigCaption)

                                       return pane;



                                Thanks Andrew

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2018 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners