Jump to content
Software FX Community

Seriou sProblem regarding chart


User (Legacy)

Recommended Posts

hi friends,

i wnat to draw a financial chart, with a minimum value and maximum value for

different series. each series to be presented as a bar and the bar to

displayed by 4 color with 25% height each. i tried this using bar chart and

i used the stacked feature.

but the problem when i am going for this all the time the chart is drawing

from 0 value of the y axis. if any one know how to change solve this problem

please help me out...

the problem details.

for ex. assume minvalue -1.785 and the max value 6.241

i want to draw the first portion of the bar from -1.785 to .221500

the second portion from .221500 to 2.228000

the third portion from 2.228000 to 4.234500

and the last portion from 4.234500 to 6.241

the current isuue is it is drawing all this point as a base from 0

please help me out....

thanks

Joseph

Link to comment
Share on other sites

Instead of using stacked you may want to try setting the IniValue for each

one of your points as follows

chart1.OpenDataEx(COD_VALUES,4,X)

chart1.OpenDataEx(COD_INIVALUES,4,X)

chart1.IniValue(0,0) = -1.785

chart1.ValueEx(0,0) = .221500

chart1.IniValue(1,0) = .221500

chart1.ValueEx(1,0) = 2.228000

You will also need to set the chart to be clustered so that the bars are

drawn in the same X position for all series in a given point.

--

Regards,

JC

Software FX Support

"Joseph Moraise" <mjoseph@netassetmgmt.com> wrote in message

news:JmULtZorCHA.3108@webserver1.softwarefx.com...

> hi friends,

>

> i wnat to draw a financial chart, with a minimum value and maximum value

for

> different series. each series to be presented as a bar and the bar to

> displayed by 4 color with 25% height each. i tried this using bar chart

and

> i used the stacked feature.

> but the problem when i am going for this all the time the chart is drawing

> from 0 value of the y axis. if any one know how to change solve this

problem

> please help me out...

>

> the problem details.

> for ex. assume minvalue -1.785 and the max value 6.241

> i want to draw the first portion of the bar from -1.785 to .221500

> the second portion from .221500 to 2.228000

> the third portion from 2.228000 to 4.234500

> and the last portion from 4.234500 to 6.241

>

> the current isuue is it is drawing all this point as a base from 0

>

> please help me out....

>

> thanks

> Joseph

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...