Haritha

Members
  • Content count

    489
  • Joined

  • Last visited

Everything posted by Haritha

  1. Fusion Chart Click Event

    Happy FusionCharting!
  2. Hi, Do you want the map to occupy the entire page and it should re-size when you re-size your browser window? If yes, please set the width and height of the Div and HTML as 100% using styles in the head section. Ref. <style> html,body,div { width:100%, height:100% } </style> Hope this helps.
  3. Fusion Chart Click Event

    Hi, Welcome to FusionCharts Forum. -->I need to be able to pass the entire chart data when i click anywhere on the chart (except on data points)? What event do i use ? Ans: You may make the entire chart as a hotspot and then on clicking anywhere on the chart, you may open a JavaScript function. Inside this function, you may use "getXMLData()" or "getJSONData" functions to get the entire XML/JSON data. You may use the attribute "clickURL" of chart element to make the entire chart as hotspot. Ref. XML: <chart ... clickURL='javaScript:myFunction()' > JS: function myFunction() { var chartReference = FusionCharts("myChartId"); var chartXML = chartReference.getXMLData(); } For more information on getting chart data back from chart, refer : http://docs.fusioncharts.com/charts/contents/JavaScript/JS_DataBackFromChart.html -->I need to be able to pass a data of that "series" when i click on any of the hotspots or data points? What event do i use for this? Ans: You may use "link" attribute of set element for calling a JavaScript function and passing the required data. Eg. <set label='Jan' value='50' link='javaScript:myJS("50")' /> For more information, refer : http://docs.fusioncharts.com/charts/contents/DrillDown/JavaScript.html -->The last question was how do i distinguish between these two click events? Ans: The "link" attribute overrides the "clickURL". Hence, you will be able to have different links for data plots and for rest of the chart area. Hope this helps.
  4. Drilldown of Chart

    Hi Rohit, The above given sample uses "configureLink" for drilling down through JavaScript linked charts. If you want to use Linked charts with Flash variant, and have multiple drill downs with each level drilling down to a different chart type, then try this: Eg. myChart.configureLink( [ {swfUrl: 'Charts/Bar2D.swf'}, {swfUrl: 'Charts/Pie2D.swf'}, {swfUrl: 'Charts/Line.swf'}, {swfUrl: 'Charts/Area.swf'} ] ); For more information on "configureLink", refer : http://docs.fusioncharts.com/charts/contents/index.html?JavaScript/API/Methods.html Hope this helps.
  5. Possible to hide series' initailly?

    Hi, This attribute works with JavaScript variant of Real time Line chart only. It appears that you are using a Flash chart. For converting your existing Flash chart to JavaScript chart,place this line before chart creation: FusionCharts.setCurrentRenderer('JavaScript'); Hope this helps.
  6. Drilldown of Chart

    Hi Rohit, If you want the descendant chart to replace the parent chart, then you may use Linked charts. Refer : http://docs.fusioncharts.com/charts/contents/JavaScript/JS_LinkedCharts.html If you want to change the chart type of descendant chart, then you need to use the function "configureLink()". The 'configureLink()' function is used to configure each level of descendant chart. For more information on configurelink, please visit-http://docs.fusioncharts.com/charts/contents/index.html?JavaScript/API/Methods.html#configurelink Also, if you want to provide linked data using XML string rather than URL, then you may use the method setXMLData(). Refer: http://docs.fusioncharts.com/charts/contents/FirstChart/DataXML.html Please find an attached sample of StackedColumn3D chart drilled down to Column 2D chart. Please click on Product A from category Jan to open a Column2D chart. Hope this helps. configure link Drill down.zip
  7. Possible to hide series' initailly?

    Hi, In a multi-series chart, the datasets are associated with their Legend. Hence, if you do not want to show a particular dataset, then you need to set the visibility of that dataset to 0. When you do this, the dataset will not be shown on the chart when the chart is first loaded but you will be able to show it when you click on its corresponsing legend. For setting the visibility of a dataset to 0, use : <dataset .. visible='0' > Hope this helps.
  8. Removing out label from map

    Happy FusionCharting!
  9. Removing out label from map

    Hi Atul, If you do not want to display entity labels, set the attribute "showLabels" to 0. Ref. <map .. showLabels='0' > Hope this helps.
  10. Hi, The above mentioned attribute "visible" works only with JavaScript charts and not with Flash charts. Hence, please try using JavaScript charts and check again. To convert your existing Flash chart to JS chart, you may use chart alias name instead of Swf file name. Eg. Literal1.Text = FusionCharts.RenderChart("StackedColumn2DLine", "", strXML.ToSrting(), "myNext", "600", "300", false, true); Hope this helps.
  11. Hi, In Multi-axis Line chart, the lines are associated with their Legend. Hence, if you do not want to show a particular line, then you need to set the visibility of that line to 0. When you do this, the line will not be shown on the chart when the chart is first loaded but you will be able to show the line when you click on its legend or its checkbox. For setting the visibility of a line to 0, use : <dataset .. visible='0' > Hope this helps.
  12. angular gauge

    Hi, It is not possible to make lowerLimit as 50 and upperLimit as 0, as of now. But as a workaround, you may use "showTickValues" and "showTickMarks" and set them to 0 to disable showing of tick marks and its values. You may then, show only the limits by setting "showLimits" to 1 and setting "lowerLimitDisplay" to "50" and "upperLimitDisplay" to 0. You may now set the color range according to your need. Ref. <chart lowerLimitDisplay='100' upperLimitDisplay='0' showTickMarks='0' showTickValues='0' showLimits='1'> Hope this helps.
  13. Hi, Welcome to FusionCharts Forum. We could replicate this problem at our end too. We would investigate more on it and update you soon in this thread. Hope this helps.
  14. Slanted Labels - Need Two Lines

    Hi, I tried to use the below quoted XML and the chart shows the second line too. <chart labelDisplay='Rotate' slantLabels='1'> <categories> <category name='LINE 1 {br}LINE 2' hoverText='TEXT'/> </categories> <dataset seriesName='2006'> <set value='27400' /> </dataset> </chart> I have used the latest version of FusionCharts v3.3.1 SR3 to test the MSColumn3D chart. If you are using an older version, could you please try using the latest version and let me know your feedback? You may download the trial copy of latest version from http://www.fusioncharts.com/download/trials/ Awaiting your response.
  15. multiple y axes question

    Please refer :http://forum.fusioncharts.com/topic/15612-multiple-y-axes-question/
  16. multiple y axes question

    Happy FusionCharting!
  17. multiple y axes question

    Hi, Do you want a line to be drawn in the middle of the chart canvas? If yes, then it is not possible to do so directly. But as a workaround, you may have a dataset with color set as black and with all its set elements with the same value. You may set the alpha of its anchors to 0 so that the anchors are not visible. By doing this, you may have a line in the middle of the chart canvas. Please find an attached XML and a screenshot of the chart obtained. If this is not your requirement, could you please mark it in the attached screenshot so that we can understand it better? Awaiting your response. Data1.xml
  18. Hi Rohit, Apologies for delay. Yes, we could see this problem replicating with Column and Bar charts. However, canvg is not our native implementation so we are not completely aware of its limitations.Nevertheless, we would check with our engineering team if there is any workaround to your requirement. But since our engineering team is working on various other high priority projects,this might take some time. Hope this helps.
  19. Rendering of charts taking alot time

    Hi, We are trying to improve the performance of charts over various versions of FusionCharts. This is a continuing process and you would see better performance in the upcoming releases. Hope this helps.
  20. Refer : http://forum.fusioncharts.com/topic/15599-mouse-click-event-on-node-of-drag-node-chart/
  21. Hi, Please try using the method "getNodeAttribute" for obtaining the x and y co-ordinates of a node. Ref. var node_x = FusionCharts("chart1").getNodeAttribute("nodeId").x; var node_y = FusionCharts("chart1").getNodeAttribute("nodeId").y; Hope this helps
  22. Img tag in set displayvalue attribute

    Hi, It is not possible to add images and links to "displayValue" attribute, natively. However, using img tag or anchor tag inside "displayValue" is a workaround for your requirement. You are seeing hyperlink over some part of the image and not on the whole because the link is being applied to the image also according to the font size that you have set in the styles for "DataValues". You may try increasing the font size and you will find that the area of hyperlink on the image also increases. Hope this helps.
  23. Hi, We shall look into it and get back to you soon.
  24. Hi Rohit, Could you please try setting "animation" and "defaultAnimation" attributes to 0? Ref. <chart .. animation='0' defaultAnimation='0' > Awaiting feedback.
  25. Hi Sri, Yes, it is possible to obtain the seriesName of the legend. Try "argumentsObject.datasetName". This should give you the legend name (dataset seriesName corresponding to the legend). Hope this helps.