Bhaskar
Members-
Content count
24 -
Joined
-
Last visited
Everything posted by Bhaskar
-
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar posted a topic in FusionCharts and JSP
Hi, I wana remove decimals for min and max values of a Bar2d fusion ChartV3, anyone help me on this. thanks Bhaskar -
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
-
Setcurrentrenderer('javascript') Error For Bar2D Chart
Bhaskar posted a topic in FusionCharts and JSP
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 -
Setcurrentrenderer('javascript') Error For Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
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> -
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.
-
Hi, Can anyone please clarify on this? Any JS callback is there for powercharts DragNode.swf one? Regards Narasimha
-
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
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 \'" + "/>"); -
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
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 -
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
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 -
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
-
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
/*! * 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/> */ -
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
Hi Angshu, The above solution is not working for renderer javascript. Its working fine for flash. Can you help me. thanks & regards Bhaskar -
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
Hi Angshu, thanks for your response, it works fine formy case. thanks & regards Bhaskar -
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
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 -
Remove Decimals For Min And Max Values Of A Bar2D Chart
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
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 -
Hi, I am trying to upgrade my FC to V3, its rendering properly for flash, but If I put FusionCharts.setCurrentRenderer('javascript') it is giving 'invali data'. Here is my code: FusionCharts.setCurrentRenderer('javascript'); var myChart = new FusionCharts("/js-lib/FusionCharts/swf/MSCombi2D.swf", "financialsChart", "246", "250", "0", "1"); var dataXML = new Array(); myChart.setDataXML(dataXML.join("")); myChart.render(chartContainerId || "company-financials-chart"); where dataXML.join("") is : "<chart adjustDiv='0' yAxisMaxValue='7429' showBorder='0' decimals='0' forceDecimals='0' showToolTip='0' numberPrefix='$' bgColor='FFFFFF' canvasBorderColor='000000' canvasBorderThickness='1' yAxisValueDecimals='1' plotSpacePercent='50'> <categories><category label="2007"/><category label="2008"/><category label="2009"/></categories><dataset seriesName="Revenues"><set value="6969"displayValue="$6,969"/><set value="7209"displayValue="$7,209"/><set value="6460"displayValue="$6,460"/></dataset><dataset seriesName="Net Income" renderAs="Line"><set value="660"displayValue="$660"/><set value="424"displayValue="$424"/><set value="598"displayValue="$598"/></dataset></chart>" I am using FF 4.0 Can anyone help me on this.
-
Power Chart Is Breaking With Fusion Chart In A Single Jsp...
Bhaskar posted a topic in Using PowerCharts XT
Hi, In a Single JSP, I am trying to show FC3 and power charts DragNode.swf, so please tell me what to do to implement both in a single JSP. FC is coming fine, but Dragnode is gicing error like "Chart has no javascript fallback". It is ok to show DragNode old version and new version of FC. FusionCharts._fallbackJSChartWhenNoFlash(); is not working... Thanks in advance. -
Power Chart Is Breaking With Fusion Chart In A Single Jsp...
Bhaskar replied to Bhaskar's topic in Using PowerCharts XT
Hi, I want to add few more lines to above problem. DragNode power chart is not coming because in the same JSP page I am setting FusionCharts.setCurrentRenderer('javascript'); for FC and down the lines for DragNode chart I am not setting any renderer so its taking the above javascript as renderer. Now I kept FusionCharts.setCurrentRenderer('flash'); its working fine now. Thanks ... -
Problem With Setcurrentrenderer('javascript')
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
Hi Radis, Can you please look into it and tell me what you want me todo to overcome overlapping. FusionCharts.setCurrentRenderer('javascript'); var myChart = new FusionCharts("Bar2D.swf ", "Chart1", "230", "550", "0", "0"); var strXML = "<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.6' label='$2.6' color='79953F '/><vLine color='000000' thickness='1' dashed='1'/><set value='1.6' label='$1.6' color='79953F'/><set value='0.8' label='$0.8' color='79953F'/><set value='0.2' label='$0.2' color='79953F'/></chart>"; myChart.setDataXML(strXML );myChart.render("ABCD-chart"); Thanks inadvance... -
Power Chart Is Breaking With Fusion Chart In A Single Jsp...
Bhaskar replied to Bhaskar's topic in Using PowerCharts XT
attachments missing... -
Power Chart Is Breaking With Fusion Chart In A Single Jsp...
Bhaskar replied to Bhaskar's topic in Using PowerCharts XT
DataXML: <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="YOU" id="0" imageurl="/wa/images/connectionMap/imgs/lbl_you.png" imageNode="1" imageAlign="bottom" imageHeight="16" imageWidth="42" /> <set x="20" y="125" toolText="Charles " width="56" height="95" alpha="0" labelAlign="bottom" color="FFFFFF" label="Charles" link="..." 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="Charles..." id="3" imageurl="/wa/images/Read-See-View.png" imageNode="1" imageAlign="bottom" imageHeight="30" imageWidth="30" /><set x="320" y="70" toolText="Donald" width="72" height="95" alpha="0" labelAlign="bottom" color="FFFFFF" label="Donald" link=".." id="2" imageurl="../images/small/181000/181520_small.jpg" imageNode="1" imageAlign="top" imageHeight="55" imageWidth="40" /><set x="320" y="40" width="30" height="30" alpha="0" color="FFFFFF" name="Donald" id="5" imageurl="/wa/images/Read-See-View.png" imageNode="1" imageAlign="bottom" imageHeight="30" imageWidth="30" /><set x="320" y="15" toolText="Arthur " width="64" height="95" alpha="0" labelAlign="bottom" color="FFFFFF" label="Arthur" link="..." id="4" 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"/><connector strength="0.55" from="2" to="5" arrowAtStart="0" arrowAtEnd="1"/><connector strength="0.55" from="5" to="4" arrowAtStart="0" arrowAtEnd="1"/></connectors><styles> <definition> <style name="name" type="font" isHTML="1" color="0070C0" 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> Code : chart =new FusionCharts("/js-lib/PowerChart/Charts/DragNode.swf", "TEST", "500", chartHeight, "0", "1"); chart.setDataXML(xml.join("")); FusionCharts._fallbackJSChartWhenNoFlash(); chart.render("chartdiv"); -
Power Chart Is Breaking With Fusion Chart In A Single Jsp...
Bhaskar replied to Bhaskar's topic in Using PowerCharts XT
Hi, Thanks for your reply, but its giving js errors in Highcharts.js like "typeClass is not a constructor", at line 18. -
Problem With Setcurrentrenderer('javascript')
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
Hi, But this overlapping issue is there only for horizontal charts. Vertical charts are looking ok. -
Problem With Setcurrentrenderer('javascript')
Bhaskar replied to Bhaskar's topic in FusionCharts and JSP
Hi Thanks for your reply , that issue is resolved. The actual issue is in reading the XML, previous version of FC is ignoring the spaces, But current version is more pecular about spaces in data XML. Example Previous version : <set value="6969"displayValue="$6,969"/> <set value="7209"displayValue="$7,209"/> Current Version : <set value="6969" displayValue="$6,969"/> <set value="7209" displayValue="$7,209"/> I have one more issue in overlapping issue for brand name("FusionCharts HighCharts") and x-axis, can anyone please help me.