Search the Community

Showing results for tags 'Caption'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Company Forums
    • Company News
  • Product Forums
    • FusionCharts XT
    • FusionWidgets XT
    • PowerCharts XT
    • FusionMaps XT
    • Collabion Charts for SharePoint
    • jQuery Plugin for FusionCharts
    • AngularJS plugin
    • ReactJS plugin
  • General Forums
    • FusionCharts Jobs and Consultation
    • FusionLounge

Found 8 results

  1. I am using the PHP Wrapper to create a multi series 3d column chart with the below constructor. The data is charted correctly on the attached chart, however the chart is missing the caption, subcaption, YAxis label and export button. $RptName, $Caption, $XAxisName and $YAxisName all contain alpha numeric data with no special characters. The version of FusionCharts XT suite is v3.12.2. My json is attached. Thank you in advance for your assistance. $arrData = array( "chart" => array( "caption"=> $RptName, "subCaption"=> $Caption, "xAxisname"=>$XAxisName, "yAxisName"=> $YAxisName, "showLabels"=> "1", "exportEnabled"=> "1", "showPrintMenuItem"=> "1", "exportAction"=> "download", "exportFormats"=> "PNG=Export as High Quality Image|JPG|PDF=Export as PDF File", "exportShowMenuItem"=> "1", "exportFileName"=> $RptName . ' ' . $StartingDate . ' thru ' . $EndingDate, "paletteColors"=> "#0075c2,#1aaf5d", "showLabel"=> "1", "legendBgAlpha"=> "0", "legendBorderAlpha"=> "0", "legendShadow"=> "0", "legendItemFontSize"=> "10", "legendItemFontColor"=> "#666666", "theme"=> "fint" ) ); $arrMultiSeriesData = $_SESSION['arrMultiSeriesData']; $jsonEncodedData = json_encode($arrMultiSeriesData); // chart object $Cht = new FusionCharts("mscolumn3d", "theChart" , 780, 390, "chart-1", "json", $jsonEncodedData); $Cht->render(); The json is attached. json.txt
  2. Hey there! Im using fusionCharts to show some information of my database. But when I try to generate ASP.NET chart (RenderChartHTML) in IE, my title (caption) and subtitled (SubCaption) are being presented with "..." at the end, without displaying the full sentence. But when I generate in Google Chrome, everything is OK. I need to generate these graphics in IE, I can not use another browser. This is FusionCharts.RenderChartHTML method: public static string RenderChartHTML(string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode) { StringBuilder builder = new StringBuilder(); string str = string.Empty; if (strXML.Length == 0) { str = string.Format("&chartWidth={0}&chartHeight={1}&debugMode={2}&dataURL={3}", new object[] { chartWidth, chartHeight, boolToNum(debugMode), strURL }); } else { str = string.Format("&chartWidth={0}&chartHeight={1}&debugMode={2}&dataXML={3}", new object[] { chartWidth, chartHeight, boolToNum(debugMode), strXML }); } builder.AppendFormat("<!-- START Code Block for Chart {0} -->" + Environment.NewLine, chartId); builder.AppendFormat("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\"width=\"{0}\" height=\"{1}\" name=\"{2}\">" + Environment.NewLine, chartWidth, chartHeight, chartId); builder.Append("<param name=\"allowScriptAccess\" value=\"always\" />" + Environment.NewLine); builder.AppendFormat("<param name=\"movie\" value=\"{0}\"/>" + Environment.NewLine, chartSWF); builder.AppendFormat("<param name=\"FlashVars\" value=\"{0}\" />" + Environment.NewLine, str); builder.Append("<param name=\"quality\" value=\"high\" />" + Environment.NewLine); builder.Append("<param name=\"wmode\" value=\"transparent\" />" + Environment.NewLine); builder.AppendFormat("<embed src=\"{0}\" FlashVars=\"{1}\" quality=\"high\" width=\"{2}\" height=\"{3}\" name=\"{4}\" allowScriptAccess=\"always\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"/>" + Environment.NewLine, new object[] { chartSWF, str, chartWidth, chartHeight, chartId }); builder.Append("</object>" + Environment.NewLine); builder.AppendFormat("<!-- END Code Block for Chart {0} -->" + Environment.NewLine, chartId); return builder.ToString(); } } The chart image is attached. Anyway, thanks.
  3. If a chart is given no data it displays the "No data to display." message and nothing else. Is it possible to have it show the border, caption and sub-caption as well? I realize I could just render them myself in HTML, but it would be nice to not have to rework what I've done.
  4. display caption problem

    I am very disappointed with the latest version of fusioncharts. It has so many problems. There is possible to find the source code of fusioncharts.HC.js ? I have very strange problem. My caption is truncated only if the text is: Répartition des demandes par familles I only see: Répartition des demandes Why is that? I cannot find the problem. I used js beautify to beautify the minified js code and the problem is in the function getSmartText You can do some debugging using the first param with the specified value. I know I'm not very explicit but this is a very,very strange problem. If I use any other text it shows with problems... The code with problems is (sorry for the format): if (l) for (; w < i; w += 1) { if (c = b[w] = r[w], this.cache[c] ? H = this.cache[c].width : (H = la(c), this.cache[c] = { width: H }), g += H, a = b.join(""), g > f && (k || (k = a.substr(0, a.length - 1)), g > e)) return x.innerHTML = v.text = V(k) + u, v.tooltext = v.oriText, v.width = x.offsetWidth, v.height = x.offsetHeight, v } else for (; w < i; w += 1) if (c = b[w] = r[w], c === " " && !J && (c = " "), this.cache[c] ? H = this.cache[c].width : (H = la(c), this.cache[c] = { width: H }), g += H, a = b.join(""), g > f && (k || (k = a.substr(0, a.length - 1)), g > e)) if (c = d.substr(0, b.length).lastIndexOf(" "), g = d.substr(0, b.length).lastIndexOf("-"), c > t ? (b.splice(c, 1, "<br/>"), t = c, l = c + 1) : g > t ? (g === b.length - 1 ? b.splice(g, 1, "<br/>-") : b.splice(g, 1, "-<br/>"), t = g, l = g + 1) : (b.splice(b.length - 1, 1, "<br/>" + r[w]), l = w), x.innerHTML = a = b.join(""), ja += this.lineHeight, ja > q) return v.text = x.innerHTML = V(k) + u, v.tooltext = v.oriText, v.width = x.offsetWidth, v.height = x.offsetHeight, v; else k = null, c = h(d.substr(l), f, x, J), g = la(d.substr(l, c || 1)), b.length < l + c && (b = b.concat(d.substr(b.length, l + c - b.length).split("")), w = b.length - 1); v.text = x.innerHTML = a; v.width = x.offsetWidth; v.height = x.offsetHeight;
  5. Hi, I would like to create labels on pie charts that correspond to the color of their slice. So if the slice is blue, the font should be blue. This will allow me to not have to show the lines that connect the label to the pie. Is this possible? Right now I see that I can only apply one color to a set of labels.
  6. Hi, When I try to align the caption in a chart, it works fine in flash, but in javascript, the alignment does not get applied and it is always centered. Is there some other parameter I need? Here's an example: -<graph enableRotation="1" showValues="1" smartLabelClearance="" enableSmartlabels="1" pieRadius="" plotFillAlpha="100" imageSaveURL="rdTemplate/rdAnimatedChart/FCExporter.aspx" imageSave="1" showBorder="0" chartBottomMargin="" chartTopMargin="" chartRightMargin="" chartLeftMargin="" numberPrefix="" showLabels="1" bgColor="ffffff" Caption="Sales By Category" animation="1" showFCMenuItem="0" unescapeLinks="0">-<styles>-<definition><style type="font" bold="0" color="5b5b5b" size="15" font="Helvetica" name="DataLabelsFontStyle"/><style type="font" bold="1" color="5b5b5b" size="24" font="Helvetica" name="CAPTIONFontStyle" align="left"/></definition>-<application><apply styles="DataLabelsFontStyle" toObject="DataLabels"/><apply styles="CAPTIONFontStyle" toObject="CAPTION"/></application></styles><set color="00558e" name="Beverages" hoverText="" value="103924.3100"/><set color="e54c25" name="Condiments" hoverText="" value="55368.6000"/><set color="84986b" name="Confections" hoverText="" value="82657.7300"/><set color="8f72aa" name="Dairy Products" hoverText="" value="115387.6500"/><set color="e59138" name="Grains/Cereals" hoverText="" value="56871.8200"/><set color="00558e" name="Meat/Poultry" hoverText="" value="80975.1200"/><set color="e54c25" name="Produce" hoverText="" value="54940.7600"/><set color="84986b" name="Seafood" hoverText="" value="66959.2100"/></graph>
  7. Hello, I am using Fusion Widgets spark line chart. In that, actual chart widht depends upon the Caption provided. Suppose I have kept chart caption = "This is test for the chart" and for another chart I have kept Caption = "Test". For both of this, actual chart varies. according to length of the Caption. But it should not be as because of that Chart will look smaller. To solve this , is there any property or way to place Caption at different place? Or any other way to solve this?
  8. Hello, I am using Fusion Widgets - Spark Line chart. In that I have provide caption for the chart. I want to provide space vertically between caption and Chart. I have searched for that. There is option available for HorizontalPadding (captionPadding). But Is It possible to provide vertical padding between them?