JohnLeg
Members-
Content count
8 -
Joined
-
Last visited
Everything posted by JohnLeg
-
I am upgrading a 2d pie chart from V3.2.4 to V3.4.0 and changing from flash to javascript. I want to suppress labels and values and show the label and value as a tooltip. I attached a screen shot of a current chart while hovering over the chart Here is a stripped down version of of my chart. When I run this labels are displayed, values are displayed, and percentage is displayed in the tooltip. What am I doing wrong? var result = '{ "chart": {"formatnumberscale" : "0", "formatnumber" : "1", "radius3D" : "255", "showToolTip" : "1", "showPercentInToolTip" : "0", "showValues" : "0", "showLabels" : "0", "bgColor": "ffffff", "showBorder" : "0", "height" : "200", "width" : "200" }, "data" : [ {"label":"Tendered to Carrier","value":2,"color": "15678c", "link":"j-FusionCall-Tendered to Carrier"},{"label":"Booked","value":5,"color": "1e92c5", "link":"j-FusionCall-Booked"}]}'; FusionCharts.ready(function() { var myChart = new FusionCharts({ type: 'pie2d', renderAt: 'chart-container' }); myChart.setJSONData(result); myChart.render(); });
-
After a lot of trial and error I figured out the cause my issue: If there is a space between "showLabels" and the : (colon) it does not work. Remove that space and it works as expected. It appears when rendering with Flash in an older version of FusionCharts it did not matter whether that space existed or not.
-
I've discovered that I can setup a chart with all the desired attributes along with the data and it displays as desired. However when I use the setJSONData function to load different data some of the chart options are no longer working such as the showLablels and showValues. Please provide a working example that incorporates the setJSONData function. Thank you.
-
Can you please post the entire html page that you used when trying to recreate this issue? I tried several variations on my attempt without success. Thanks
-
We are about to purchase Fusion Charts and have run across the error described in this topic. Can you tell me when a fix will be available for this issue?
-
I know how to change the ChartNoDataText message but I also want to include a background image with the message, a red circle plus the message I tried using the following but it displays the entire string and doesn't apply the css class <style> .nodata { background:url(../images/nodata.gif) no-repeat; } </style> ... chartIncomplete.configure("ChartNoDataText", chartIncomplete.configure("ChartNoDataText", "<span class='nodata'>No Data</span>"); Is there a way to affect the background of the no data message? I'm using flash to render the chart. Thanks
-
Thank you for the respose
-
I have a pie chart that I would like to add a link to the caption. I tried both of the solutions outlined in this post http://forum.fusioncharts.com/topic/3030-add-link-in-subcaption but when my chart renders I see the exact text I had entered in the caption. Here is the chart setup { "chart": {"formatnumberscale" : "0", "formatnumber" : "1", "showToolTip" : "1", "showPercentInToolTip" : "0", "showValues" : "0", "showLabels" : "0", "height" : "200", "width" : "200", "caption" : "%26lt;a href=%26apos;http://google.com%26apos; %26gt;Incomplete (733)%26lt;/a%26gt;"}, "data" : [ {"label":"Incomplete","value":733,"link":"j-FusionCall-Incomplete"}]} Is it possible to have the caption be a link? Thanks