SM1 Posted May 25, 2009 Report Share Posted May 25, 2009 When I export Chart in Flash tooltips are not visible in the Flash file produced. Following is the code chart1.ImageSettings.TagAttributes = "swf"; chart1.Export( FileFormat.External, "C://try.swf"); now when i open 'try.swf' tooltips are not showing. Quote Link to comment Share on other sites More sharing options...
RandyJ Posted May 26, 2009 Report Share Posted May 26, 2009 Please try setting the ImgTags property to "Flash" as follows: Chart1.ImgTags = "Flash"; Chart1.Export(SoftwareFX.ChartFX.Internet.Server.FileFormat.External,"C:\\temp2\\chartflash.swf"); Please remember to add a reference to the ChartFX.Writer.Flash in your project. Hope this helps. RandyJ Quote Link to comment Share on other sites More sharing options...
SM1 Posted May 27, 2009 Author Report Share Posted May 27, 2009 Thanks RandyJ, Actually I figured out the problem, I was not using Flash writer previously. Inorder to export Chart as Flash file the OutputWriter of the Chart should be set to Flash Writer. Revised code, FlashWriter myFlash = new FlashWriter(); Chart1.OutputWriter = myFlash;myFlash.Tooltips = true; myFlash.TooltipsConstraint = true;Chart1.ImageSettings.TagAttributes = "swf"; Chart1.ImageSettings.Interactive = true;Chart1.Export( FileFormat.External, "C://ChartExport.swf"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.