Jump to content
Software FX Community

Chart Personalized


Flack

Recommended Posts

Hello,

 I'm getting a bit puzzled, with the personalized.

I have an interactive chart (htmltag=".Net"), and have an event on the saving of the chart personalized. This works fine, the settings are kept except from all the titles. I can change the font, the text of the title in the interactive mode, but looks like it's not sent back in the event.

 Here is the code I'm using. What am I missing or doing wrong?

private void Chart1_Personalized(object sender, PersonalizedEventArgs e){switch (e.Action)

{

case PersonalizedAction.Save:

Chart1.Import(e.Stream);

 

Chart1.Export(FileFormat.Binary,@"C:\Inetpub\wwwroot\ChartFXDataChange\ConfigCharts\mychart.cfx");

 

break;

case PersonalizedAction.Load:

Chart1.Import(FileFormat.XML,@"C:\Inetpub\wwwroot\ChartFXDataChange\ConfigCharts\mychart.cfx");break;

}

}

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.

×
×
  • Create New...