Jump to content
Software FX Community

Constant Line not Synchronize on two charts


User (Legacy)

Recommended Posts

I have two charts: Top chart is a multiple line chart and the bottom part is

bar chart.

I put "Mouse Move" event on the top chart. When the mouse hoover on top of

the chart. I draw a constant line on both charts.

However, when I got a lot of data, the constant line would not draw at the

same time. There's a slack of time when drawing the constant line.

Is it a bug? or is there any property that I have to set?

Thanks

Link to comment
Share on other sites

Is it a vertical constant line ? these charts are not aligned in the X-Axis,

the first chart has 10 points while the second has 16.

The constant line value is being assigned to what ?

I'm not clear if this is what you mean, are you talking about the amount of

time it takes to draw ? how many points are we talking about ? the sample

you attached has very few points.

--

FP

Software FX, Inc.

post-2107-13922378275905_thumb.jpg

Link to comment
Share on other sites

I'm sorry. The sample is only a sample. I attached the current chart.

Yeah, I'm talking about the amount of time, to draw the vertical constant

line.

I have 8 series with 100 data in it for the top chart. For the bottom chart,

I only have 1 series with 100 data.

When I scroll the mouse, the vertical constant line for the second chart,

refreshed faster than the second line.

So the line in the first chart seems left behind.

Thanks for your help.

Hendra

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:E1RHCquzCHA.2184@webserver1.softwarefx.com...

> Is it a vertical constant line ? these charts are not aligned in the

X-Axis,

> the first chart has 10 points while the second has 16.

>

> The constant line value is being assigned to what ?

>

> I'm not clear if this is what you mean, are you talking about the amount

of

> time it takes to draw ? how many points are we talking about ? the sample

> you attached has very few points.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Well, this is normal as the first chart takes longer to draw, you may want

to optimize your MouseMove code so that you don't change the constant value

if it is the same, this way you will eliminate a lot of unnecessary

re-drawing.

Redrawing the chart in every mouse move is going to feel slow when you have

this many points.

--

FP

Software FX, Inc.

post-2107-13922378278036_thumb.jpg

Link to comment
Share on other sites

Is there any way, I could show 50 data without having instert the data

again.. since I've got 100 data already..

I think it would make the chart more faster.

Thanks

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:2apmOhvzCHA.2184@webserver1.softwarefx.com...

> Well, this is normal as the first chart takes longer to draw, you may want

> to optimize your MouseMove code so that you don't change the constant

value

> if it is the same, this way you will eliminate a lot of unnecessary

> re-drawing.

>

> Redrawing the chart in every mouse move is going to feel slow when you

have

> this many points.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

No. However, there are settings that will improve the performance, check the

section "Performance & Scalability" under the Internet Features in the

"Samples & Resource Center) for tips.

Also, a 100 point chart takes less than a second to draw, normally you would

not even notice, the issue here is that you are repainting on EVERY mouse

move. Did you implement the suggestion I gave you in my previous post ?

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...