Jump to content
Software FX Community

Can OpenHighLowClose and additional Bar Chart and 2nd OpenHighLowClose chart exist on same Chart FX 2005 Chart?


User (Legacy)

Recommended Posts

Hi,

I have created a Chart FX 2005 Winforms Chart of type

Gallery.OpenHighLowClose to display financial data, with an amazingly small

amount of time, effort, and lines of code on my part, and now I would like

to superimpose two more charts of data on top of this OpenHighLowClose

chart:

1. A series of type "Bar", like "Overall Dow Jones Industrial Average

Volume"

2. A second OpenHighLowClose chart by adding another 4 series, so I can, for

instance, plot Pepsi stock's OpenHighLowClose chart and Coca Cola's stock's

OpenHighLowClose chart on the same graph for comparisons.

Are the above 2 things possible, or is the OpenHighLowClose chart type

specially hard coded in a way that prevents ADDITIONAL series of any type

from being added to it as a kind of combination chart.

If it is possible to add more series to a OpenHighLowClose chart, could

somebody be so kind as to point me to some working sample code?

Thank you very much in advance!

Brook Hunter

Attachments.zip

Link to comment
Share on other sites

You can definitely do this, however this is more on the advanced side so it 

won't be as simple as what you did before, but it is still pretty easy.

If you are binding the data to the chart at design-time, you need to select

a chart type that doesn't require a specific number of series, such as bar

before going into "Adjust Data to Chart", otherwise the OpneHiLowClose

validations will kick-in preventing you from achieving what you want.

Once you have selected the columns you wanted, you can then proceed to

customize the gallery, since the gallery you want is not one of the

pre-defined combinations that we provide in the Select Gallery wizard, you

will need to do this through the property grid, select the Series property

and change the gallery type for each series, you can then go ahead and

customize the panes using the Axes and Panes wizard.

Note: We provide these more complex financial Charts in or Financial

extension, soon to be released for Chart FX for Visual Studio 2005. Wizards

are provided for accessing this functionality in a much easier way.

--

Francisco Padron

www.chartfx.com

Attachments.zip

Link to comment
Share on other sites

Hi,

Thanks a lot. This worked perfectly. The problem WAS that I was setting

the gallery type of the chart. When I set the Chart to have NO gallery

type, and instead assigned gallery types ONLY to the series, it worked

great. I was able to get an OpenHighLowClose AND a bar chart on the SAME

chart!

Thanks a lot!

Brook Hunter

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

news:Ve1dZ$mAGHA.3964@webserver3.softwarefx.com...

> You can definitely do this, however this is more on the advanced side so

> it won´t be as simple as what you did before, but it is still pretty easy.

>

> If you are binding the data to the chart at design-time, you need to

> select a chart type that doesn´t require a specific number of series, such

> as bar before going into "Adjust Data to Chart", otherwise the

> OpneHiLowClose validations will kick-in preventing you from achieving what

> you want.

>

> Once you have selected the columns you wanted, you can then proceed to

> customize the gallery, since the gallery you want is not one of the

> pre-defined combinations that we provide in the Select Gallery wizard, you

> will need to do this through the property grid, select the Series property

> and change the gallery type for each series, you can then go ahead and

> customize the panes using the Axes and Panes wizard.

>

> Note: We provide these more complex financial Charts in or Financial

> extension, soon to be released for Chart FX for Visual Studio 2005.

> Wizards are provided for accessing this functionality in a much easier

> way.

>

>

> --

> Francisco Padron

> www.chartfx.com

>

post-2107-13922364250133_thumb.png

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...