Jump to content
Software FX Community

Toolbar disappearing when redisplay a statistics chart


ozykaboo

Recommended Posts

I notice when try to reset a chart through code, and i am using the statistical extensions package, that when i repost a page that creates the chart, the toolbar does not appear. The following is my code:

Chart1.Reset()

Chart1.Height = 600

Chart1.Width = 800

Chart1.ToolBar.Visible =

True

 

 

Dim statistics1 As Statistical.Statistics

statistics1 =

New Statistical.Statistics

statistics1.LegendBox.Visible =

True

statistics1.Chart = Chart1

statistics1.Studies.Add(Statistical.Analysis.Mean)

statistics1.Studies.Add(Statistical.Analysis.Sigma1)

statistics1.Studies.Add(Statistical.Analysis.Sigma2)

statistics1.Studies.Add(Statistical.Analysis.Sigma3)

 

The first time i display the chart, the toolbar appears just fine, but if I do a postback to the page to recreate the chart, then every time after the first time, the toolbar does not appear. However if i take out the part of code that creates the statistical analysis, the problem does not exist.

Is this a know bug?? I am not initializing the chart object correctly or the statistical part properly??

Any help would be greatly appreciated. 

 

 

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...