OMMPAVAN

Members
  • Content count

    56
  • Joined

  • Last visited

Posts posted by OMMPAVAN


  1. The same exeample is not working in my system . javascript is enabled and when i click on link that function is not calling .Both two files are in same folder

     

     

    <html>

    <head>

    <title>JavaScript Link Example</title>

    <script language="JavaScript" src="../FusionCharts/FusionCharts.js"></script>

    <script LANGUAGE="JavaScript"><!--

    function myJS(myVar){

    window.alert(myVar);

    }

    // --></SCRIPT>

    </head>

    <body bgcolor="#ffffff">

    <div id="chartdiv" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div>

    <script type="text/javascript"><!--

    var myChart = new FusionCharts("Column2D.swf",

    "myChartId", "500", "300", "1",

    "1");

    myChart.setXMLUrl("data.xml");

    myChart.render("chartdiv");

    // --></script>

    </body>

    </html>

     

    --------------------Data.xml--------------------------

     

    <chart caption='ABC Bank Branches' subCaption='(In

    Asian Countries)' yaxislabel='Branches' xaxislabel='Country'>

    <set label='Hong Kong' value='235' link='j-myJS-Hong Kong, 235'/>

    <set label='Japan' value='123' link='j-myJS-Japan, 123'/>

    <set label='Singapore' value='129' link='j-myJS-Singapore, 129'/>

    <set label='Malaysia' value='121' link='j-myJS-Malaysia, 121'/>

    <set label='Taiwan' value='110' link='j-myJS-Taiwan, 110'/>

    <set label='China' value='90' link='j-myJS-China, 90'/>

    <set label='S. Korea' value='86' link='j-myJS-S.Korea, 86'/>

    </chart>


  2. Hai can you tell me why my linked chart is not working with below code

     

     

     

    <html>

    <head>

    <title>My First chart using FusionCharts</title>

    <script type="text/javascript" src="FusionCharts.js">

    </script>

    </head>

    <body>

    <div id="chartContainer">FusionCharts will load here!</div>

    <div id="linkedchart-container" >Descendant charts will load here</div>

    <script type="text/javascript"><!--

     

    var myChart = new FusionCharts( "Column2D.swf",

    "myChartId", "320", "250", "0", "1" );

    myChart.setXMLUrl("data.xml");

    myChart.render("chartContainer");

     

    myChart.configureLink (

    {

    swfUrl : "Pie3D.swf",

    insertMode: 'append',

    renderAt : "linkedchart-container",

     

    overlayButton:

    {

    message: 'close',

    fontColor : '880000',

    bgColor:'FFEEEE',

    borderColor: '660000'

    }

    }, 0);

     

    // -->

    </script>

    </body>

    </html>

    -----------------------------------Data.xml--------------------------------------------

    <chart caption="Yearly sales" xAxisName="Year" yAxisName="Sales">

    <set label="2004" value="37800" link="newchart-xml-2004-quarterly" />

    <set label="2005" value="21900" link="newchart-xml-2005-quarterly" />

     

     

    <linkeddata id="2004-quarterly">

    <chart caption="Quarterly Sales Summary" subcaption="For the year 2004"

    xAxisName="Quarter" yAxisName="Sales" >

    <set label="Q1" value="11700" />

    <set label="Q2" value="8600" />

    <set label="Q3" value="6900" />

    <set label="Q4" value="10600" />

    </chart>

    </linkeddata>

     

    <linkeddata id="2005-quarterly">

    <chart caption="Quarterly Sales Summary" subcaption="For the year 2005"

    xAxisName="Quarter" yAxisName="Sales">

    <set label="Q1" value="5500" />

    <set label="Q2" value="7100" />

    <set label="Q3" value="3900" />

    <set label="Q4" value="5400" />

    </chart>

    </linkeddata>

     

    </chart>


  3. Hai i have a print button when i click on print button i collects all the different data in different objects and set those data to main object and send to jasper reports class which will generate my data PDF .Now i have to collect the fusion chart in that data i have to set it to main object as image object which will print by using jasper reports.how i can covert flash object as Image (Not using right click on chart then save) in java.


  4. Hai

    I have Replaced my .swf files with licence version even i replaced all files cleaned project and tomcat server it is showing trail version symbol .i shout down the system and then it is not showing trial version symbol

    .Now i deployed the war file taken from my PC and deployed in server i removed old war file and generated folder also .Trail version is not showing in PC exact that war file deployed in server showing trail version symbol.

    why this is happening why replaced files are not effecting even i clear all the folder and replaced with new .Why i need to restart the system where these files are internally storing.


  5. Hai Forum .As far as my knowledge concern if i pass the regWithJS value 1 then fusion chart will render even there is no flash player and ActiveX plugin .

     

     

    var chart_<%=chartId%> = new FusionCharts("<%=chartSWF%>", "<%=chartId%>","<%=chartWidthStr%>"

    ,"<%=chartHeightStr%>", "0", "1");

     

    In am testing with different browsers and systems s .Some systems have not installed flash player .In those systems chart is rendering in only Google chrome

    .if when flash player is not available does fusion chart render using java script .But why i am not getting charts in IE8.Even i have flash player i am not getting in OPERA .What i have to change


  6. Hai

     

    Assume we have number of processes pc1,pc2,pc3....

    Each process is completed at certain stage now it has 4 stages bad ,good,avg, excellent ..Now i have show health of each process .I selected stacked charts . i have to show at 45,60,80,100 intervals .

    How to show at these intervals .And which chart is best for my scenario .I am attaching assumed chart .


  7. Hai my XML is below .I wan to show division lines at " 45,60,80,100 intervel but i am getting as normal intervels 20

     

    <chart caption='Company Revenue'xAxisName='Month' yAxisName='Revenue'showValues= '0'adjustDiv='0' yAxisMaxvalue='100' yAxisMinValue='0' numDivLines='3'divIntervalHints='45,60,80,100'><br style="font-family: monospace; font-size: 14px; "><br style="font-family: monospace; font-size: 14px; "> <categories><br style="font-family: monospace; font-size: 14px; "> <category label='Jan' /><br style="font-family: monospace; font-size: 14px; "> <category label='Feb' /><br style="font-family: monospace; font-size: 14px; "> <category label='Mar' /><br style="font-family: monospace; font-size: 14px; "> </categories><br style="font-family: monospace; font-size: 14px; "><br style="font-family: monospace; font-size: 14px; "> <dataset seriesName='Product A'><br style="font-family: monospace; font-size: 14px; "> <set value='10' /><br style="font-family: monospace; font-size: 14px; "> <set value='30'/><br style="font-family: monospace; font-size: 14px; "> <set value='30' /><br style="font-family: monospace; font-size: 14px; "> </dataset><br style="font-family: monospace; font-size: 14px; "><br style="font-family: monospace; font-size: 14px; "> <dataset seriesName='Product B'><br style="font-family: monospace; font-size: 14px; "> <set value='0'/><br style="font-family: monospace; font-size: 14px; "> <set value='30'/><br style="font-family: monospace; font-size: 14px; "> <set value='25'/><br style="font-family: monospace; font-size: 14px; "> </dataset><br style="font-family: monospace; font-size: 14px; "> <dataset seriesName='Product B'><br style="font-family: monospace; font-size: 14px; "> <set value='30'/><br style="font-family: monospace; font-size: 14px; "> <set value='30'/><br style="font-family: monospace; font-size: 14px; "> <set value='25'/><br style="font-family: monospace; font-size: 14px; "> </dataset><br style="font-family: monospace; font-size: 14px; "><br style="font-family: monospace; font-size: 14px; "><br style="font-family: monospace; font-size: 14px; "></chart>


  8. Hai

    My Frmae work is Zkoss .Assume One page(DashBoard Page) contains number of Widgets(Panels).Each panel loads one jsp page where that jsp page loads the fusion chart .

    Each panel can move from palce to another one desk top and each panel can maximize ,Collapse .

    I think you underStood I am giving Example link also http://www.zkoss.org/zksandbox/#l4

    Now my issue is if i maximize or collapse in fast motion In google crome Suddenly the whole page is going into loading state .My entire application is crashing .After few seconds it is showing "Wait or Kill Pages"

    It is not coming in firefox and IE .Ihow can i over come this .Is this problem with google crome for fusion charts .or loading of fusion charts is slow in google crome .As it is my Dash board i have to make it rich .Repaly ASAP

     

    Thank you

    Pavan kumar


  9. hai

     

    i set the scaleMode : "exactfit" but the chart canvas color is showing blue color and chart looks as blur even it is not showing exact result what the changes need to do

     

    var chart_<%=chartId%> = new FusionCharts("<%=chartSWF%>", "<%=chartId%>","<%=chartWidthStr%>"

    ,"<%=chartHeightStr%>", "<%= debugModeInt%>", "<%= regWithJSInt%>", {scaleMode : "exactfit"});

     

    See with exact fit in 2d and 3D chart

    post-27715-0-51020100-1332426580_thumb.jpg

    post-27715-0-29174300-1332426596_thumb.jpg

    post-27715-0-49894300-1332426846_thumb.jpg

    post-27715-0-59166800-1332426885_thumb.jpg