Jump to content
Software FX Community

New Series In Chart


User (Legacy)

Recommended Posts

Is there a way that I can query different data sources and bind them to the

same chart as a different series? We have everything working with one query

for a set of data that we are displaying on a series and now we would like

to add two more series' to the chart. We will not be able to retrieve all

three sets of data from one query. Is there an example of something like

this in the Samples & Resource Center that ships with the product?

We are using ChartFX .NET 6.2.

Thanks,

Derek

Link to comment
Share on other sites

Were can I find more information on this?  Are there some samples either on

the CD or on the web that will help me out with this?

Thanks,

Derek

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

news:RysPrlkIEHA.2848@webserver3.softwarefx.com...

> No.

>

> A datasource contains multiple series (columns) and only ONE datasource

can

> be assigned to a chart.

>

> If you are retrieving data from multiple datasources, you need to use the

> OpenData-CloseData API.

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Yes, there is samples of using OpenData-CloseData to pass data to the chart

in the Programmer's guide as well as in the "Samples & Resource Center"

under "Passing Data -> Using the API"

Here is a snippet of code form that section:

'Open the communication channel

Chart1.OpenData(COD.Values, 2, 6)

For i = 0 To 1

For j = 0 To 5

'Assign the values to the series selected

Chart1.Value(i, j) = Rnd() * 100

Next j

Next i

'Close the communication channel

Chart1.CloseData(COD.Values)

In order to improve our product can you please answer the following

questions:

Did you know about the Resource Center and/or programmer's guide docs ?

If not, where did you look ? in the CD ? in the Programs Menu ?

If you did know about the Resource Center, what do you think was missing to

point you in the right direction ?

Thank you for your time.

--

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