Jump to content
Software FX Community

Bug ? problem with AxisX


User (Legacy)

Recommended Posts

Hi,

I'm using ChartFx and do the following steps:

- maximize the form with chartFx (using the anchor feature)

- bind data

(using Chart1.AxisX.LabelsFormat.Format =

AxisFormat.Time

Chart1.AxisX.LabelsFormat.CustomFormat =

"mm:ss"

)

- resize the form to the size before = restore the size

- maximize the form

- resize the form to the size before = restore the size

and at this time is the chart clean and a special second AxisX on top is

created

see the after_resizing_form.png file

I need a solution/workaround for that problem.

Andreas

Link to comment
Share on other sites

Can you reproduce this problem every time you follow these steps or does it

occur randomly ?

Can you save the chart before the resizing and after (to a Chart file using

Export) so that we duplicate the problem and/or checks why the chart was

painted incorrectly ?

--

Regards,

JC

Software FX Support

"Andreas Weiss" <andreas.weiss3@epost.de> wrote in message

news:TzG4ZsgTCHA.1288@webserver1.softwarefx.com...

> Hi,

>

> I'm using ChartFx and do the following steps:

>

> - maximize the form with chartFx (using the anchor feature)

> - bind data

> (using Chart1.AxisX.LabelsFormat.Format =

> AxisFormat.Time

> Chart1.AxisX.LabelsFormat.CustomFormat =

> "mm:ss"

> )

>

> - resize the form to the size before = restore the size

> - maximize the form

> - resize the form to the size before = restore the size

>

> and at this time is the chart clean and a special second AxisX on top is

> created

>

> see the after_resizing_form.png file

>

>

> I need a solution/workaround for that problem.

>

> Andreas

>

>

>

>

Link to comment
Share on other sites

Sorry, but it was again my failure.

Failure list:

1) don't put a databind method into a thread !

I tried to start and stop the thread what works most of the time correct but

not always.

-> It is better to use a timer1_tick routine

2) don't put complex actions into a on/Paint routine of your form

-> I cleaned my on/Paint routines and the whole program works correct.

Andreas

"Software FX Support" <support@softwarefx.com> schrieb im Newsbeitrag

news:lMenoipTCHA.3104@webserver1.softwarefx.com...

> Can you reproduce this problem every time you follow these steps or does

it

> occur randomly ?

> Can you save the chart before the resizing and after (to a Chart file

using

> Export) so that we duplicate the problem and/or checks why the chart was

> painted incorrectly ?

>

> --

> Regards,

>

> JC

> Software FX Support

> "Andreas Weiss" <andreas.weiss3@epost.de> wrote in message

> news:TzG4ZsgTCHA.1288@webserver1.softwarefx.com...

> > Hi,

> >

> > I'm using ChartFx and do the following steps:

> >

> > - maximize the form with chartFx (using the anchor feature)

> > - bind data

> > (using Chart1.AxisX.LabelsFormat.Format

=

> > AxisFormat.Time

> > Chart1.AxisX.LabelsFormat.CustomFormat =

> > "mm:ss"

> > )

> >

> > - resize the form to the size before = restore the size

> > - maximize the form

> > - resize the form to the size before = restore the size

> >

> > and at this time is the chart clean and a special second AxisX on top is

> > created

> >

> > see the after_resizing_form.png file

> >

> >

> > I need a solution/workaround for that problem.

> >

> > Andreas

> >

> >

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...