kofkof

How to get proper width for candlesticks?

Recommended Posts

Hello Fusioncharts team,

 

 

 

Good work with the charts, guys. Top quality!

 

I only have one problem with candlesticks widths when there are missing or empty <set>s in my dataset. Could you help me to fix it, please ?

 

 

 

candlesticks-overlap.png

 

 

 

XML :

 

<chart caption="Caption" PYAxisName="Price" VYAxisName="Volume">

 

<dataset>

 

<set x="3" open="4" high="5" low="3.5" close="4.5" volume="1000" />

 

<set x="19" open="4.2" high="6" low="4.5" close="5.5" volume="2000" />

 

<set x="20" open="4" high="5" low="3.5" close="4.5" volume="1000" />

 

<set x="23" open="4" high="5" low="3.5" close="4.5" volume="1000" />

 

<set x="39" open="4" high="5" low="3.5" close="4.5" volume="1000" />

 

<set x="40" open="4.1" high="6" low="4.5" close="5.5" volume="2000" />

 

</dataset>

 

</chart>

 

 

 

In this forum thread, you said :

 

the chart calculates width as per the known non-empty sets
I suggest that in future releases you allow for calculating widths based on the maximum x-value provided (40 in my XML).

 

 

 

Until then, is there a solution/tip/hack/anything I could use to make my candlestick not to overlap each other?

 

 

 

Thanks for your help and keep up the good work! :)

Share this post


Link to post
Share on other sites
Guest Angie

Dear User,

 

We are delighted to announce that PowerCharts is now ready for your iPads and iPhones too. We have just released PowerCharts v3.2. Starting v3.2, PowerCharts has HighCharts embedded within it, and offers both Flash and JavaScript (HTML5) charting . The Flash charts are displayed on a majority of devices and the JavaScript charts on devices that do not support Flash, all of it without writing a line of code.

 

Automatic rendering of JavaScript charts on devices (like iPad and iPhone) where Flash player is not supported.

 

5 new chart types:

 

Heat Map Chart

 

Box and Whisker Chart

 

Step Line Chart

 

Error Line Chart

 

Error Scatter Chart

 

 

* Support for JSON data format.

 

* Support for LinkedCharts, where a single data source controls multiple charts.

 

* Interactive legends in charts allow selective showing/hiding of data series.

 

* Legends now support icons for each data series.

 

* Better management of labels on charts.

 

* Labels now have an auto rendering mode to prevent them from overlapping, the chart selects the best display mode depending on the length of the labels and the width of the chart.

 

* Long labels are truncated, with ellipses appended to the truncated end of each label, and a tooltip bearing the completed label text is displayed when the user hovers over a truncated label.

 

* Support for line breaks and wrapping in all text elements including: caption, sub caption, X-axis title, Y-axis title, Labels and tooltips.

 

* In Line charts, data values can now be positioned either above or below the dataplots. Automatic positioning of data values is also supported.

 

* In Step-line charts dataplots can be joined using vertical lines.

 

* Custom alignment of caption and sub caption using STYLES.

 

* Advanced print management using JavaScript.

 

* Additional options for efficient event handling using JavaScript.

 

* Support for dynamic update of chart properties using JavaScript(barring select scatter and drag charts).

 

* Charts now support % based sizes along with dynamic resizing (barring select scatter and drag charts).

 

 

Learn more about everything new in PowerCharts v3.2 at : http:/ www.fusioncharts.com/PowerCharts/

 

We would love to hear from you at: http://www.fusioncharts.com/contact/

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