Sign in to follow this  
sherman770

Broken Candlestick Charts

Recommended Posts

Hi, I have just upgraded my company to the newest powercharts and I am having major problems. All of the charts are blowing through the top. It appears that the y-axis scaling is completely non-functional. I have attached a pic of the chart and the code/data below. I have also found a bunch of other bugs with the rendering of these charts, but let's just start here and work through it.

 

CODE

 

function GetChart() {
       FusionCharts.setCurrentRenderer("javascript");
        var myChart = new FusionCharts("/FusionCharts/CandleStick.swf", "chart", "700", "500", "0", "1");
       myChart.setJSONUrl("/Candlesticks/GetChart");
       myChart.render("chartContainer");
   }

 

 

JSON

 

{"chart":
{"numpdivlines":"5","bearbordercolor":"E33C3C","bearfillcolor":"E33C3C","bullbordercolor":"1F3165","pyaxisname":"Price","vyaxisname":"Volume","volumeheightpercent":20},
"categories":[{"category":[{"label":"2006","x":"1","showline":"1"}]}],

"dataset":[{"data":[{"open":"199.5","close":"250","high":"250","low":"199.5","x":6,"volume":"4"},{"open":"200","close":"183.333","high":"240","low":"175","x":7,"volume":"16"},{"open":"188.889","close":"250","high":"250","low":"188.889","x":8,"volume":"15"},{"open":"210","close":"300","high":"300","low":"163.636","x":9,"volume":"4"},{"open":"172.917","close":"170","high":"184.5","low":"170","x":10,"volume":"6"},{"open":"173","close":"172","high":"181.818","low":"165","x":11,"volume":"11"}]}]}

post-22338-0-89961000-1318144574_thumb.png

Edited by sherman770

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

I am afraid, we are unable to replicate the issue, as the code is working fine from our end.

 

Please find the screenshot attached for your reference.

post-10517-0-59927900-1318410349_thumb.png

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
Sign in to follow this