Jump to content
Software FX Community

Seriou sProblem regarding chart


User (Legacy)
 Share

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

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