Jump to content
Software FX Community

Bug ? problem with AxisX


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 post
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 post
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 post
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.

Loading...
×
×
  • Create New...