Bhaskar

Members
  • Content count

    24
  • Joined

  • Last visited

About Bhaskar

  • Rank
    Junior Member
  1. Hi Thanks for your sugg for my previous post, I took new FC XT version and works fine for me. Now I am able to draw a single Bar2D chart. Now I want a hyperlink on the Bar legend. Please find the attached image. My Code is <set value='123456' displayValue=\'$1.0M vesting (next 6 months)\' color='D7E4BD' showPlotBorder='0' showBorder='0' /> Now I want write something like Hyperlink to next 6 months (like <a href='http://forum.fusioncharts.com'> next 6 months </a>) Simple terms it is : Want handle click event for display value of a bar. Thanks & regards Bhaskar
  2. Its working fine with flash in old xml also. But empty span created only with javascript renderer. Created Span on UI is : <span id="financialsChart-14890" style="line-height: 100%; display: inline-block; width: 200px; height: 80px;"></span> Current XML is <chart numberPrefix=' outCnvBaseFontColor='666666' canvasBorderThickness='1' divLineColor='e1f5ff' canvasBorderColor='999999' showAlternateVGridColor='1' plotBorderColor='1' numDivLines='0' showYAxisValue='0' thickness='1' showBorder='2' stack100Percent='1' showLegend='0' > <set value='852414' displayValue='$1.2M vesting (next 6 months)'/> <trendlines> <line startValue='22000' color='00cc00' displayValue='Average' /> </trendlines> <styles> <definition> <style name='CanvasAnim' type='animation' param='_xScale' start='0' duration='1' /> </definition> <application> <apply toObject='Canvas' styles='CanvasAnim' /> </application> </styles> </chart>
  3. Hi, I am trying to render javascript renderer for FF 6.0. I am not getting any js error and my Fusioncharts.js 3.2.2 is loading properly in firebug. In UI, it is creating only span and no content inside that. Can you please help me on this. Code as follows ... FusionCharts.setCurrentRenderer('javascript'); var myChart = new FusionCharts("/js-lib/FusionCharts/swf/Bar2D.swf", "financialsChart-"+myNumber, "200", "80", "1", "0"); var dataXML = new Array(); dataXML.push("<chart numberPrefix=' outCnvBaseFontColor='666666' canvasBorderThickness='1' divLineColor='e1f5ff' canvasBorderColor='999999' showAlternateVGridColor='1' plotBorderColor='1' numDivLines='0' showYAxisValue='0' thickness='1' showBorder='2' stack100Percent='1' showLegend='0' >"); dataXML.push("<categories>"); dataXML.push("<category label='GUHA'/>"); dataXML.push("</categories>"); dataXML.push("<set value=\'852414\' displayValue=\'$1.2M vesting (next 6 months)\'/>"); dataXML.push("</chart>"); myChart.setTransparent(true); myChart.setDataXML(dataXML.join("")); myChart.render("vestingEvents-"+myNumber); Created Span on UI is : <span id="financialsChart-14890" style="line-height: 100%; display: inline-block; width: 200px; height: 80px;"></span> In firebug loaded FC.js header is /* FusionCharts JavaScript Library Copyright FusionCharts Technologies LLP License Information at <http://www.fusioncharts.com/license> @author FusionCharts Technologies LLP @version fusioncharts/3.2.2-release.3880..... thanks & regards Bhaskar
  4. Upgrading Drag Node Powercharts Issue

    Hi, Can anyone please clarify on this? Any JS callback is there for powercharts DragNode.swf one? Regards Narasimha
  5. Hi Trying to Upgrade to 3.2.1 but I'm getting No javascript callback for below code. if(Util.hasFlash()){ FusionCharts.setCurrentRenderer('flash'); }else{ FusionCharts.setCurrentRenderer('javascript');alert(2)} chart = new FusionCharts("../PowerChart/Charts/DragNode.swf", "TEST", "500", chartHeight, "0", "1"); chart.setDataXML(xml.join("")); chart.render("chartdiv"); <chart use3DLighting="1" xAxisMinValue="0" xAxisMaxValue="500" yAxisMinValue="0" yAxisMaxValue="150" borderAlpha ="0" bubbleScale="3" is3D="1" numDivLines="0" showFormBtn="0" showLabels="0" showBorder="0" showPlotBorder="0" bgColor="FFFFFF" borderColor="FFFFFF" canvasBorderColor="FFFFFF" borderThickness ="0" enableLink="1" labelDisplay="WRAP" ><dataset plotborderAlpha="100" allowDrag="1"><set x="320" y="150" width="200" height="16" alpha="0" color="FFFFFF" name="avr phani" id="0" imageurl="" imageNode="1" imageAlign="bottom" imageHeight="16" imageWidth="42" /><set x="20" y="125" toolText="John W. Marren" width="48" height="95" alpha="0" labelAlign="bottom" color="FFFFFF" label="John W. Marren" link="profile.jsp?Id=50634" id="1" imageurl="/images/small/photo_not_available_small.gif" imageNode="1" imageAlign="top" imageHeight="55" imageWidth="40" /><set x="320" y="94" width="30" height="30" alpha="0" color="FFFFFF" name="Years: 2001 - 2011<BR>Companies: MEMC Electronic Materials<BR>Relationship: Affiliated for 11 years (from 2001 to 2011) at MEMC <BR>Electronic Materials; John W. as Director and Douglas <BR>as Director." id="3" imageurl="/wa/images/Read-See-View.png" imageNode="1" imageAlign="bottom" imageHeight="30" imageWidth="30" /><set x="320" y="15" toolText="Douglas Marsh" width="56" height="95" alpha="0" labelAlign="bottom" color="FFFFFF" label="Douglas Marsh" link="_profile.jsp?Id=50635" id="2" imageurl="/images/small/photo_not_available_small.gif" imageNode="1" imageAlign="top" imageHeight="55" imageWidth="40" /></dataset><connectors color="CCCCCC" stdThickness="8" labelDisplay="WRAP"><connector strength="0.55" from="0" to="1" arrowAtStart="0" arrowAtEnd="1"/><connector strength="0.55" from="1" to="3" arrowAtStart="0" arrowAtEnd="1"/><connector strength="0.55" from="3" to="2" arrowAtStart="0" arrowAtEnd="1"/></connectors><styles> <definition> <style name="name" type="font" isHTML="1" color="0082c8" bgColor="FFFFFF"/> <style name="desc" type="font" isHTML="1" bgColor="FFFFFF"/> </definition> <application> <apply toObject="DATALABELS" styles="name"/> <apply toObject="TOOLTIP" styles="desc"/> <apply toObject="CONNECTORLABELS" styles="desc"/> </application></styles></chart> Bhaskar.
  6. Hi In JSP... I created a HTML DIV with id 'wealth-chart' . <script type="text/javascript" src="../js-lib/FusionCharts/FusionCharts.js?<%=Property.RELEASE.getValue()%>"></script> if(Util.hasFlash()) { FusionCharts.setCurrentRenderer('flash'); if($j.browser.msie && ($j.browser.version > 8 || document.documentMode > 8)) { var chartHeight = numOfBars * 23 + 77; } var myChart = new FusionCharts(Constants.COMMON.ROOT + "js-lib/FusionCharts/swf/Bar2D.swf ", "wealthChart", "195", chartHeight, "0", "0"); } else { var chartHeight = numOfBars * 23 + 60; $j('#secondChart').css("margin-top","20px"); if($j.browser.msie && ($j.browser.version > 8 || document.documentMode > 8)) { var chartHeight = numOfBars * 23 + 53; } FusionCharts.setCurrentRenderer('javascript'); var myChart = new FusionCharts(Constants.COMMON.ROOT + "js-lib/FusionCharts/swf/Bar2D.swf ", "wealthChart", "230", chartHeight, "0", "0"); } myChart.setDataXML(dataXML.join("")); myChart.render("wealth-chart"); ---- ---- -------------------------------------------------- dataXML.push("<chart decimals='1' forceYAxisValueDecimals='0' forceDecimals='1' showToolTip='0' formatNumber='0' bgColor='FFFFFF' canvasBorderColor='000000' canvasBorderThickness='1' plotGradientColor='FFFFFF' showBorder='0' numDivLines='0' numberPrefix=' showValues='0' plotSpacePercent='60' showLabels='0'>"); dataXML.push("<vLine color='000000' thickness='1' dashed='1'/>"); dataXML.push ("<set value=\'" + compTotal + "\' " + "label=\'{:content:}quot; + compTotal + "\' " + "color=\'79953F \'" + "/>");
  7. Hi, I am getting the below error on javascript renderer mode. #25081850 TEST::RendererManager Error >> There was an error rendering the chart. Enable FusionCharts JS debugMode for more information.FusionCharts.js? (line 15) This is coming in FF 7 - console. thanks & regards Bhaskar
  8. Hi, Can you please try this in 3.2.1 <chart formatNumber='0' decimals='1' forceDecimals='1' yAxisValueDecimals ='1' showToolTip='0' bgColor='FFFFFF' canvasBorderColor='000000' canvasBorderThickness='1' plotGradientColor='FFFFFF' showBorder='0' numDivLines='1' numberPrefix='$' showValues='0' plotSpacePercent='60' showLabels='0' > <set value='7308.4' label='$7308.4' color='79953F '/> <vLine color='000000' thickness='1' dashed='1'/> <set value='5444.1' label='$$5,444.1' color='79953F'/> <set value='1864.3' label='$$1,864.3' color='79953F'/> </chart> thanks & regards Bhaskar
  9. /*! * FusionCharts JavaScript Library * Copyright FusionCharts Technologies LLP * @license License Information at <http://www.fusioncharts.com/license> * * @author FusionCharts * @version 3.2.1-release * * Third-party attributions: * SWFObject v2.2 <http://code.google.com/p/swfobject/> * JSON v2 <http://www.JSON.org/js.html> * Firebug Lite 1.3.0 <http://getfirebug.com/firebuglite> * jQuery 1.4.2 <http://jquery.com/> */
  10. Hi Angshu, The above solution is not working for renderer javascript. Its working fine for flash. Can you help me. thanks & regards Bhaskar
  11. Hi Angshu, thanks for your response, it works fine formy case. thanks & regards Bhaskar
  12. Hi, Thanks for your response. Sorry for confusion, I want decimals for all except min and max values. My x-axis may have 0.2, 0.4 like values. Thanks & regards Bhaskar
  13. Hi, thanks for your quick reply. please find the below xml. <chart decimals='1' forceDecimals='1' yAxisValueDecimals ='1' showToolTip='0' bgColor='FFFFFF' canvasBorderColor='000000' canvasBorderThickness='1' plotGradientColor='FFFFFF' showBorder='0' numDivLines='1' numberPrefix='$' showValues='0' plotSpacePercent='60' showLabels='0' > <set value='2.4' label='$2.4' color='79953F '/> <vLine color='000000' thickness='1' dashed='1'/> <set value='1.2' label='$$1.2' color='79953F'/> <set value='0.7' label='$$0.7' color='79953F'/> <set value='0.3' label='$$0.3' color='79953F'/> <set value='0.3' label='$$0.3' color='79953F'/> </chart> thanks & regards Bhaskar
  14. Hi, I wana remove decimals for min and max values of a Bar2d fusion ChartV3, anyone help me on this. thanks Bhaskar