Jump to content
Software FX Community

Issue with ChartFX Chart In an ActiveReport


User (Legacy)

Recommended Posts

I have an ActiveReport that has an embedded ChartFX Chart in the lower 

right hand cornoer of the one page report.

The ActiveReport has one datasource and the Chart has another. The

problem is that when the report runs the data for the report section

does just fine. The Chart looks like the default control with none of

the formatting I do in the code (e.g. Axis Labels, ChartType, etc) nor

do the bars represent anything close to the data that is assigned as its

datasource.

I know the formatting for what I'm wanting works because I made a

preliminary Chart report in another report where the Chart was the only

thing in the report, the ActiveReport didn't have a datasource, and the

Chart had the exact same datasource, same stored procedure, as the one

in this case. It worked fine.

I copied the formatting code over from that parameter screen figuring it

would work just fine.

I know that there is valid data getting to the report because I'm

dumping the datasource into a DataGrid on the report's parameter screen.

I've tried playing around with what order the datasources are assigned

to each. So far I haven't been able to get it to look anything like the

report where the Chart was the only control on the report.

Any ideas?

Thanks,

Tim

Link to comment
Share on other sites

Figured it out.

I put the Chart in a GroupFooter and each time a Detail record came

through and caused the GroupFooter to Format thus wiping out any changes

that I made to my Chart. I put it in a PageFooter and now it works just

fine.

Tim

Tim Shults wrote:

> I have an ActiveReport that has an embedded ChartFX Chart in the lower

> right hand cornoer of the one page report.

>

> The ActiveReport has one datasource and the Chart has another. The

> problem is that when the report runs the data for the report section

> does just fine. The Chart looks like the default control with none of

> the formatting I do in the code (e.g. Axis Labels, ChartType, etc) nor

> do the bars represent anything close to the data that is assigned as its

> datasource.

>

> I know the formatting for what I'm wanting works because I made a

> preliminary Chart report in another report where the Chart was the only

> thing in the report, the ActiveReport didn't have a datasource, and the

> Chart had the exact same datasource, same stored procedure, as the one

> in this case. It worked fine.

>

> I copied the formatting code over from that parameter screen figuring it

> would work just fine.

>

> I know that there is valid data getting to the report because I'm

> dumping the datasource into a DataGrid on the report's parameter screen.

> I've tried playing around with what order the datasources are assigned

> to each. So far I haven't been able to get it to look anything like the

> report where the Chart was the only control on the report.

>

> Any ideas?

>

> Thanks,

> Tim

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...