Jump to content
Software FX Community

Tooltips not visible in Flash


SM1
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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");
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...