wai

Members
  • Content count

    5
  • Joined

  • Last visited

About wai

  • Rank
    Forum Newbie
  1. Hi, Is there anyway to purchase only one single chart type in PowerChart ? Because my company business only need the financial chart and not others. Please advice. Regards
  2. Hi, Just curious about this: if the chart data is coming from a XML file, and I only want to change the plotPriceAs value in functional attribute, will setDataXML allow me to change only that small portion or do I need to re-generate the entire XML data structure in javascript as per the sample given in the website ? Anyone can help ?
  3. Hi, if I were to change the attribute "plotPriceAs", am I refer it as "name" like below: name='plotPriceAs' value='Line' This is the code I used in the script: function uptChart(DOMId,x) { //using updateChartXML method defined in FusionCharts JavaScript class var chart1 = new FusionCharts("../Charts/CandleStick.swf", "ChartId", "600", "400","0","0"); chart1.setDataURL("Data/Candle6.xml"); if(chart1.setDataXML) { if(x==2) { //name='plotPriceAs' value='Line' chart1.setDataXML(""); } else { //name='plotPriceAs' value='Candlestick' chart1.setDataXML(""); } } else { alert("setDataXML not supported"); } chart1.render('chartdiv'); } I got this error when I execute my script: Error: chartObj.setDataXML is not a function Source File: file:///E:/leong%20folder/PowerCharts_Eval/JSClass/FusionCharts.js Line: 137 Anything wrong with my code ? Please help. Thanks
  4. Hi, Did anyone try to change plotPriceAs from "candlestick" to "line" using setDataXML function without generate 2 sets of XML data ? Please help. Regards
  5. Unit in X label

    HI, I was trying the free version of fusioncharts to display a stockmarket chart ( 2D line) where data is refresh every minute, and I'm having problem with the x label, my label should be showing 9.00, 10.00, 11.00 .. until 5.00 and between each label there should be divided by 60 lines. My data willl be like below: set name='9.00' value='17400' hoverText='9.00' showName="1" set name='9.01' value='17900' hoverText='9.01' showName="0" set name='9.02' value='18300' hoverText='9.02' showName="0" But the chart end up with 2 more blank labels between 9.00 and 10.00. Am I using the wrong chart or is there a way to overcome this by plotting between 2 x labels ?? Please help. Regards Wai