fusioncharts

Fusion Charts show no flash player warning message

╄→гoц情女王★ 提交于 2019-12-25 04:55:15
问题 I'm using Fusion Charts 3.2.1. I want to show a warning message when my flash player isn't enabled in browser or installed. How do I do that? Is strange that even on the official site the chart panel is completely blank when flash is disabled. 回答1: If you are using JavaScript code to render the chart, you can use detectFlashVersion and autoInstallRedirect constructor parameters (set them to 1) to show an alert message and a redirection to flash player download page. example: var myChart = new

Fusionchart custom message display inside the canvas

非 Y 不嫁゛ 提交于 2019-12-24 08:57:35
问题 I need to display message inside the fusionchart (I use Bar 2D Chart). I checked the API but I couldn't. I need pass the xml message (I attached the image) Can you please help me. (gray color is the boarder of the chart) 回答1: Any way I found a way to implement this, but it used js (not using xml). http://jsfiddle.net/shamasis/WzNKT/ This url help me lot, thank for the developer. var myChart = new FusionCharts( "FusionCharts/Column3D.swf", "myChartId", "400", "300", "0" ); myChart.setXMLUrl(

Problem in rendering Multiple Drilldown in fusioncharts

我的梦境 提交于 2019-12-24 07:58:10
问题 I am using Django. I want use the drilldown feature in fusioncharts. I am able to get the first drilldown correctly. But when I code for the second drilldown it is showing "No data to display" . Also the following code renders all the charts in the same type. But I want to render the child charts in different types. I am sharing the snippet below. def chart(request): dataSource = {} dataSource['chart'] = { "caption": "Top 10 Most Populous Countries", "showValues": "0", "theme": "zune" }

how to download csv with fusion charts in codeigniter

冷暖自知 提交于 2019-12-24 04:24:08
问题 I have been trying below function to generate CSV for download, but what I am seeing is that I can get CSV data only in alert . function ExportMyChart(type) { var chartObj = getChartFromId('myChartIdAmount4'); if( chartObj.hasRendered() ){ if(type === 'CSV'){ alert(chartObj.getDataAsCSV()); }else{ chartObj.exportChart({ exportAtClient: '1', exportFormat: type, exportAction: 'download' }); } } } chartObj.exportChart is not working for CSV, is there any way i can make it work for CSV as it work

how to download csv with fusion charts in codeigniter

假装没事ソ 提交于 2019-12-24 04:23:59
问题 I have been trying below function to generate CSV for download, but what I am seeing is that I can get CSV data only in alert . function ExportMyChart(type) { var chartObj = getChartFromId('myChartIdAmount4'); if( chartObj.hasRendered() ){ if(type === 'CSV'){ alert(chartObj.getDataAsCSV()); }else{ chartObj.exportChart({ exportAtClient: '1', exportFormat: type, exportAction: 'download' }); } } } chartObj.exportChart is not working for CSV, is there any way i can make it work for CSV as it work

events is not working in angularjs fusion charts

坚强是说给别人听的谎言 提交于 2019-12-23 05:57:06
问题 I am trying to capture dataplotClick event in pie2d chart of fusion charts using angular. I'm referring this example Bar chart with events. When I create object events directly to the scope then it's working. Working $scope.events = { dataplotClick:function(evnt,data) { var lbl = data.toolText.split(",")[0]; console.log(lbl); $scope.$apply(function() { $scope.stFilter = {'EV_STATE_NUMBER':lbl}; }); } } Not working $scope.my = {}; $scope.my.events = { dataplotClick:function(evnt,data) { var

Apply Javascript fusion chart exporting code to PHP,MySql code

▼魔方 西西 提交于 2019-12-23 05:45:13
问题 i'm using fusion charts with my PHP & MySQL codings . I can draw charts with Database data..Now I want add a download button to export charts as PDF,png & JPG formats...i have found fusion charts Javascript example & I tried to apply that code to my php code & get exporting charts..But I couldn't do it....Only chart displayed...Her the help JS code which I used...: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html>

How to create pie chart using javascript

随声附和 提交于 2019-12-19 10:24:25
问题 I have created a pie chart using javascript and my data is stored in mongodb. In my chart I am able to separate slices of pie chart. That is whenever I roll on my mouse on any of the slices it is showing the data. But my requirements are, that if I click any of the slice of it, it should display the data in some table. This is my HTML code <html> <head> <title>Pie chart</title> <script type="text/javascript" src="fusioncharts/fusioncharts.js"></script> <script type="text/javascript" src=

JQuery Mobile not working inside UIWebView

走远了吗. 提交于 2019-12-18 12:26:30
问题 I'm coming here after many many hours of looking for a solution and trying different approaches to fix this issue I'm having with JQuery Mobile and my iPad app. What I'm trying to do is a reporting app with Fusion Charts. I have successfully rendered the charts within web views (UIWebView) using different methods, and following different examples, but what I'd like to do now is accomplishing the same task using the JQuery Mobile framework. I'm not using phonegap and I've followed the steps to

FusionCharts: X-axis values not like expected

◇◆丶佛笑我妖孽 提交于 2019-12-14 04:09:30
问题 I am using FusionCharts but I'm facing some problems. I get 0 on X-axis at index not 0 (I marked it in a red color) on the the snapshot below. Another problem is that the line is not drawn? This is the figure i get : This is my XML code: <chart caption="" xaxisname="Quantity (finished items)" yaxisname="Cost" numdivlines="9" lineThickness="2" showvalues="0" showLegend="1" canvasPadding="0" legendIconScale="1.4" numVisiblePlot="15"> <categories> <category x="0" label="0"/> <category x="5000"