Rahul44

Members
  • Content count

    9
  • Joined

  • Last visited

Posts posted by Rahul44


  1. Hi sumedh,

     

                      I am using anchorSides and anchorRadius in my dataset but the legend is still comming up with square boxes regardless of the different specification.

      

    <dataset seriesName='2014' color='330000' anchorBgColor='330000' anchorRadius='7' anchorSides='3'> 

     

    Is it becasue i am using the Older version i think its (Fusion Charts 3.1.1). I probaly should have mentioned earlier(my bad). Let me know if there is a way i can still do this.  

     

    Thank you for your help.

     

    Rahul

     

    P.S Thank you bmcwhorter for your input.


  2. Hi,

    I'm charting multiple data sets in a line graph. To distinguish the different lines I'm using the anchorSides property to generate triangles, squares.

    I would like to display not only the color but the symbol that is being used for that dataset in the Legend.

    Is there a way I can achieve this, it will help if someone prints out the graph in b&w to differentiate the lines and for people who are color blind.

    Also let me know if there is a custom way of doing this by using <styles>.

    Thanks for your time help.

    Rahul


  3. Hi Sashibhusan,

     

    Thank you for that .. that is exactly what i was looking for ..

     

    Thank you for your help..Take care

     

    Rahul

     

     

     

    Hi Rahul,

     

    As you have mentioned, you would need to update the chart again with the old data to get back the original chart.

     

    However, instead of passing the old data again to the "setDataXML()" method, you can get the chart XML by "getXML()" method and store it in a JavaScript variable, just before updating the chart and onClick of "Back" button you can update the chart with that saved data.

     

    Please find the modified "test.html" attached here, for your reference.

     

    Hope this helps!


  4. Hi sumedh,

     

    Thank you so much for your help that worked ..sorry to bother you again ..so how can i have a link to get back to the old data ?? I mean i know i can another function with same old data to link back to that function but is there a better way ..like when i am in the second chart a back link to go back ?

     

     

    Thank you sumedh.

     

     

     

     

    Hi Rahul,

     

    Please find attached illustration with FusionCharts v3.1.1 files.

     

    Hope this helps!


  5. Hi Sumedh,

     

    Unfortunately my hands are tied for the update. If you can help me with a solution for that version that woudl have been great.. Thank you ..

     

    Thank you for your help

     

    Rahul.

     

     

    Hi Rahul,

     

    Welcome to FusionCharts Forum! smile.gif

     

    Sincere apologies for delayed response.

     

    Could you please try it out using the latest version of FusionCharts XT?

     

    Recently, we have released FusionCharts XT v3.3.0. It has many bug fixes and improvements. Also, it provides powerful JavaScript API for more customization as compared to FusionCharts v3.1.1

     

    Please find the attached illustration for your reference.

     

    Hope this helps!


  6. I was trying to follow your example but only the first data show its not actually switching the data.

     

    I am using FusionChart 3.1.1 not sure what the name of it is and i tried the following code ..

     

    <script LANGUAGE="JavaScript">

     

    function updateChart(domId){

    updateChartXML(domId,"<graph><set name='A' value='30' color='D64646' /><set name='B' value='51' color='AFD8F8' /></graph>");

    this.document.frmUpdate.btnUpdate.disabled = true;

    }

    </SCRIPT>

     

    <div id="chart1div">

    FusionCharts

    </div>

    <script language="JavaScript">

    var chart1 = new FusionCharts("/FusionCharts/Optix/Column2D.swf", "chart1Id", "100%", "350");

    chart1.setDataXML("<graph><set name='A' value='10' color='D64646' /><set name='B' value='11' color='AFD8F8' /></graph>");

    chart1.render("chart1div");

    </script>

    <form name='frmUpdate'>

    <input type='button' value='Change Data' onClick="javaScript:updateChart('chart1Id');" name='btnUpdate'>

    </form>

     

    Its giving me object expected error ..

    Can you pls advise ..

    Or can you suggest another way to change data in a fusion chart on the client side ..


  7. Hi,

     

    I am using Fusion Charts 3.1.1 & i would like to link two charts with xml embbed in. Is it possible to load it in same div or Seprate div with javascipt or without.

    can you please show an example on how to link from the embbed xml to render seprate graph to diffrent div or same div.

     

    If that is not possible can you please also give an example of linking a chart to IFrame when the embed chart is on the same page.

     

    Thank you for your help.

     

    Rahul


  8. Thank You

     

    Hi,

     

    You would have to insert a "if condition statement" to skip the "0" values while generating the XML from database.

     

    Ref. code:

     

    While(Read data from recordset.)  
    {
       if(recordset.column ! = 0)    ---------------------- (check if the database column has 0 value else generate the XML)
           {
           then generate the XML
           }
    }
    
    


  9. hi,

     

    I have values comming from database i would like to know if there is a way with fusion chart not to plot values if its 0, if not is it possible to add a javascript or xml if statement within a datatset?

     

     

    thank you for the help in advance..

     

    Rahul