Jump to content
Software FX Community

Clearing chart control


User (Legacy)
 Share

Recommended Posts

I am having problems with crosstab charts &  non-crosstab charts that use

the same chartfx control.

Here is the scenario:

The user defines charts in one module of my app.

They can add pre-defined charts to a report (Active Reports 2 Pro) that is

in a separate module of my application. (I only add a picture box, I don't

add the actual activex control. See next statement)

Since AR has on again off again issues with Chartfx, I am creating the

charts using a chartfx control that is on the form and not on the report.

Once the chart is done I then export the chart as a bitmap and then I import

the bitmap into the report.

This works great if all of the charts are non-crosstab charts. It also works

great if all of the crosstab charts for a single report are created before

any non-crosstab chart. But once non-crosstab chart is created then any

subsequent crosstab charts to not paint correctly.

Is there something that I need to do to "reset" the chart?

Thanks

Dan Reber

Datamasters, Inc

Link to comment
Share on other sites

Here are two version of the same chart.  The file GoodCrosstab.bmp is when

the crosstab was run first. The file BadCrosstab.bmp is when the crosstab

was run after a non-crosstab.

Thanks

Dan

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

news:1YKF3dm2DHA.3808@WEBSERVER1...

> What's incorrect ? is the data wrong ? the settings ? can you please be

more

> specific as to what is wrong.

>

> --

> FP

> Software FX, Inc.

>

>

WindowsApplication1.zip

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.

 Share

×
×
  • Create New...