Jump to content
Software FX Community

Flash writer and interactivity


Miguel
 Share

Recommended Posts

 Hi,

 Is there a way to totally disable the interactivity when generating the chart as a Flash control?

I have already set ImageSetting.Interactivity = False, ImageSettings.ToolTips = ImageToolTipStyle.None and UseCallbacksForEvents = False, but nothing seems to do the trick.

The problem is that everytime I click on a data point or bar, or on a legend the page does a postback.

Thanks, Miguel

Link to comment
Share on other sites

Thanks for your prompt response.

I do not know how the OnClick event is being set, since I am generating the Chart at run time. And because of this I do not have access to the design time properties.

Is there an easy way to reset the OnClick property for the whole Chart? What else could be setting this property?

The code below seems to eliminate the OnClick event. Is there an easier way to do this? Am I missing anything else?

For Each t As ChartFX.WebForms.Axis In baseChart.ChartFX7Object.AxesX

t.Link.OnClick =

String.Empty

NextFor Each t As ChartFX.WebForms.Axis In baseChart.ChartFX7Object.AxesY

t.Link.OnClick =

String.Empty

NextFor Each t As ChartFX.WebForms.SeriesAttributes In baseChart.ChartFX7Object.Series

t.Link.OnClick =

String.Empty

Next

Thanks again for your help. Miguel

Link to comment
Share on other sites

This web application was still using the ChartFX Wrapper for backward compatibility with version 6, and I guess this is what was setting the OnClick event.

Now I have changed the application to not use the wrapper, and everything works fine.

Thanks, Miguel

post-2932-13922400429914_thumb.jpg

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...