mt25

Members
  • Content count

    21
  • Joined

  • Last visited

Posts posted by mt25


  1. hii,

     

     

    i am also facing this problem previously , after i get it resolved try to remove width from chart container id .

     

    and try to incorporate this function , may be this will help you if not please write me back ..

     

     

     

    ////inside java script

     

    function getBrowser() {

     

    if( navigator.userAgent.indexOf("Chrome") != -1 ) {

    hangeheightOfChartContainer();

    return "Chrome";

    } else if( navigator.userAgent.indexOf("Opera") != -1 ) {

     

    return "Opera";

    } else if( navigator.userAgent.indexOf("MSIE") != -1 ) {

     

    return "IE";

    } else if( navigator.userAgent.indexOf("Firefox") != -1 ) {

    changeheightOfChartContainer();

    return "Firefox";

    } else {

    return "unknown";

    }

    }

    getBrowser();

    function changeheightOfChartContainer()

    {

     

    document.getElementById("chartContainer").style.height = null;

     

     

    }

     

    ////////in HTML --

    <div id="chartContainer" style="height:100%">PowerCharts XT will load here!</div>

     

     

     

     

    Below is my code to create html text. The chart display in firefox with no problem, but in IE9, nothing was generated. I'm using the latest fusioncharts XT version.

    Anyone can help?

     

     

    htm += "<html>";

    htm += "<head>";

    htm += "<title></title> <script type=\"text/javascript\" src=\"../Scripts/FusionCharts.js\">";

    htm += "</head>";

    htm += "<body bgcolor=\"#ffffff\">";

     

    htm += "<script type=\"text/javascript\">";

    htm += "FusionCharts.printManager.enabled(true);";

     

    htm += "</script>";

     

    htm += "<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"750\" height=\"450\" id=\"" + name + "\" >";

    htm += "<param name=\"movie\" value=\"../fusionChart/" + chart + "\" />";

    htm += "<param name=\"FlashVars\" value=\"&dataURL=../xml/" + randomName + ".xml&chartWidth=750&chartHeight=450\" />";

    htm += "<param name=\"quality\" value=\"high\" />";

    htm += "<embed src=\"../FusionChart/" + chart + "\" flashVars=\"&dataURL=../xml/" + randomName + ".xml&chartWidth=750&chartHeight=450\" quality=\"high\" width=\"750\" height=\"450\" name=\"" + name + "\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />";

    htm += "</object>";

    htm += "</body>";

    htm += "</html>";

     


  2. hi everyone i want to show image in tooltip but in json , in xml it is coming fine but in json format image is not coming.

    here i am attaching two images one for xml (tooltip with xml in which image is coming).

     

    2. for json(tooltip with json in which image is not coming instead of image,internal code is displaying)

     

     

    thanks in advance

    post-33720-0-67459600-1357295837_thumb.png

    post-33720-0-38149100-1357295971_thumb.png


  3. hii everyone,

     

     

    i want to add image in tooltext in dragnode chart .if there is any way to add image in tooltext or any one can guide me about this .

     

    i attached a sample picture here in which some text is coming in tooltext instead of text i want to show some image on mouse over

     

    thanks


  4. Thanks Sumedh for giving your time ,

    I am able to create the levels and also level hiding but i am stucked with , when i hide level two all the connectors of it should also hide , but in my case all the connectors are hiding only when i am hiding level 1,

     

    in my case i gave three data set and i gave three series DS1,DS2,DS3, but when i am hiding DS1 it is hiding all the levels

    here i attached a pdf for this also please check it out.

     

     

     

     

     

     

    Hi,

     

    Welcome to FusionCharts Forum! smile.gif

     

    You can use interactive legend to show/hide the datasets. On clicking the legend icon, you can show/hide the particular dataset.

     

    To enable the legend, you would need to specify "showLegend" attribute as "1" under the chart element.

     

    Ref. Code:

    <chart ... showLegend='1'>

     

    Also for creating leveled datsets, you can create two different datasets with respect to x co-ordinate.

     

    Ref. Code:

    <dataset seriesName='DS1'>
    <set x='10' y=' ' ...../> 
    <set x='10' y='' ...... />
    .
    .
    .
    <set x='10' y=' '....../>
    </dataset>
    
    <dataset seriesName='DS2'>
    <set x='20' y=' ' ...../> 
    <set x='20' y='' ...... />
    .
    .
    .
    <set x='20' y=' '....../>
    </dataset>

     

     

    For more information, please refer the following link:

    http://docs.fusionch...SS/DragNode.htm

     

    Hope this helps!

    FusionCharts with out any level hide.pdf

    FusionCharts with level1 hide.pdf


  5. Hi ,

     

    I want to know how connectors and Interactive legends are working in dragnode chart,

    I wanted to hide all the connectors on hiding the respective node

    like

     

     

    If node 1 is connected to node 5,6,7,6 which comes in data series DS1.

    node 2 (comes in data series 2 ) is connected to node 5,1,6 ( DS2),

     

    now when i click on Legend : DS1 it should hide all the nodes of DS1 (1,5,6,7) and all the connectors between them

    and when i click on Legend :DS it should hide all the nodes of DS2(2) and all the connectors of it .

     

    if any one can tell how this connector and legend thing is working in power chart , and any kind of help related to this is acceptable :))

    Thanks


  6. or any one can tell me how drag node chart with connector works with Interactive Legends

     

     

     

    Hello Everyone,

     

    I have a scenario where i am using drag node chart , and my data is coming level vise like level one data coming in x =10 and y=20( for all nodes i am increasing x axis by 10 for ever time) and same for other levels chart is rendering fine, connector is also coming fine what i wanted to know is when i am clicking on level one it should hide and all the connectors of it should also hide, but in my case level is hiding but connectors are not. can any one give me idea how to hide connectors on hiding the levels or nodes ..

     

    I attached two samples below one with out hiding any levels and second one with 2nd level hidden but not the connectors

     

    FusionCharts-level2hidden.pdf

    FusionChartswithout levelhiding.pdf

     

    Thanks smile.gif


  7. Hello Everyone,

     

    I have a scenario where i am using drag node chart , and my data is coming level vise like level one data coming in x =10 and y=20( for all nodes i am increasing x axis by 10 for ever time) and same for other levels chart is rendering fine, connector is also coming fine what i wanted to know is when i am clicking on level one it should hide and all the connectors of it should also hide, but in my case level is hiding but connectors are not. can any one give me idea how to hide connectors on hiding the levels or nodes ..

     

    I attached two samples below one with out hiding any levels and second one with 2nd level hidden but not the connectors

     

    FusionCharts-level2hidden.pdf

    FusionChartswithout levelhiding.pdf

     

    Thanks smile.gif