Jump to content
Software FX Community

How to avoid flashing of whole page?


User (Legacy)

Recommended Posts

I'm using the web forms from ChartFX for .NET.

I have 6 charts on a single web form. I noticed that on client's browser,

the whole page flashes when only one chart need to update. Is there a way to

redraw only the charts which need to update without flashing (reloading the

whole form) of the whole page?

Thanks in advance.

Link to comment
Share on other sites

If you are updating one chart by doing a postback then the whole page may

flash depending on how fast the page (including all the charts) is

redownloaded.

To avoid this you have two choices

a) You can assign URLs to points/series and use the URLOptions property to

turn on the URLFlag.Reload, this will cause ChartFX to hit the page assigned

in the URL and use the result of this page to populate the chart you are

drilling down in. Note that the page pointed to by your URL will normally be

a page with server-side code only and will typically end with

Chart1.GetHtmlData instead of using GetHtmlTag.

B) If reloading a chart should follow an external event (a button pressed)

you can script our client component and use the DataPath property. This

property expects a URL and will do the same as in the previous option (i.e.

you will normally use Chart1.GetHtmlData).

--

Regards,

JC

Software FX Support

"Polaris" <etpolaris@hotmail.com> wrote in message

news:7puIritKDHA.380@webserver1.softwarefx.com...

> I'm using the web forms from ChartFX for .NET.

>

> I have 6 charts on a single web form. I noticed that on client's browser,

> the whole page flashes when only one chart need to update. Is there a way

to

> redraw only the charts which need to update without flashing (reloading

the

> whole form) of the whole page?

>

> Thanks in advance.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...