elnino

[CandleStick.swf] Bar/volume set width

Recommended Posts

On my chart volume sets shoult be 3-4px width. Probably width is calculated by dividing chart width and amount of sets - but I have empty sets so it is wrong. Could you check it?

Share this post


Link to post
Share on other sites

Since in your categories, you've specified the X as 120, the right side of the chart is appearing as blank. The x-axis in a candlestick chart is numeric and as such all x values provided in the XML are accommodated in the same.

Share this post


Link to post
Share on other sites

Pallav,

 

 

 

notice that if I use "fake sets":

 

 

 

-----

 

<set open="25" high="25" low="25" close="25" x="55" volume="0" />

 

...

 

<set open="25" high="25" low="25" close="25" x="120" volume="0" />

 

-----

 

 

 

set width is ok:

 

 

 

fc.png

 

 

 

but I can't use empty sets ( <set x="120" /> ) - they are ignored.

 

 

 

It is very big problem - I can't show stock chart until stock session is closed.

Edited by Guest

Share this post


Link to post
Share on other sites

Pallav, thans for your help, but I think that wrong calculating set width is buggy - look for my first screenshot. Is it possible to change alghoritm of calculating set width to use empty sets too?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now