Software FX Posted November 8, 2004 Report Share Posted November 8, 2004 This is as simple as it seems. What is a "default" chart ? Is it the chart you had at design-time ? is it the chart that first came-up (including all customization made in form-load) ? The way to "clean" a chart is to save the "clean" state into a file (or DB) and then retrieve it when you want a clean chart. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 9, 2004 Report Share Posted November 9, 2004 Got your point. The reason that I got this question is that i use this code in my application: WebChart1.PersonalizedFlags = SoftwareFX.ChartFX.PersonalizedFlags.AutoLoad Or SoftwareFX.ChartFX.PersonalizedFlags.AutoSave Or SoftwareFX.ChartFX.PersonalizedFlags.EnableRestore It works perfectly as long as I use just one YAxis. When i try to assign one or more of my series to the second YAxis it seems to use some of the properties already saved by the PersonalizedFlags.AutoSave. Meaning that the series are still assigned to the first YAxis. My question is how I can override this functionality not to save/load information about the axis? When I remove the WebCahrt1.PersonalizedFlags line It works perfectly again. Regards, Lars SoftwareFX Support wrote: > This is as simple as it seems. What is a "default" chart ? Is it the chart > you had at design-time ? is it the chart that first came-up (including all > customization made in form-load) ? > > The way to "clean" a chart is to save the "clean" state into a file (or DB) > and then retrieve it when you want a clean chart. > Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 9, 2004 Report Share Posted November 9, 2004 Got it working now. Regards, Lars > Got your point. > > The reason that I got this question is that i use this code in my > application: > > WebChart1.PersonalizedFlags = > SoftwareFX.ChartFX.PersonalizedFlags.AutoLoad Or > SoftwareFX.ChartFX.PersonalizedFlags.AutoSave Or > SoftwareFX.ChartFX.PersonalizedFlags.EnableRestore > > It works perfectly as long as I use just one YAxis. When i try to assign > one or more of my series to the second YAxis it seems to use some of the > properties already saved by the PersonalizedFlags.AutoSave. Meaning that > the series are still assigned to the first YAxis. My question is how I > can override this functionality not to save/load information about the > axis? When I remove the WebCahrt1.PersonalizedFlags line It works > perfectly again. > > Regards, > > Lars > > SoftwareFX Support wrote: > >> This is as simple as it seems. What is a "default" chart ? Is it the >> chart you had at design-time ? is it the chart that first came-up >> (including all customization made in form-load) ? >> >> The way to "clean" a chart is to save the "clean" state into a file >> (or DB) and then retrieve it when you want a clean chart. >> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.