jami Report post Posted February 19, 2012 (edited) I use StackedColumn2D on my charts. I want to set a Picture on selective data the, like the following example: It's my php code : for($t=0; $t<count($price2); $t++) { if(($t%$num)==0){ $FC->addCategory($price2[$t], "showName=1"); }else{ $FC->addCategory($price2[$t], "showName=0"); } } for($k=0; $k<11; $k++) { $FC->addDataset($numList[$k],"color=" . $color[$k]); for($t=0; $t<count($price2); $t++) { if(!is_null($BS2[$t][$k]) and $BS2[$t][$k]!=""){ $b = $BS2[$t][$k]; }else{ $b = 0; } $FC->addChartData($b ); // <= add code in this? } } Edited February 19, 2012 by jami Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 20, 2012 Greetings, I am afraid, the feature which you are looking for, is not supported, as of now. As a work-around, you can try FusionCharts styles. Using FusionCharts styles, you can make your charts more interactive. Please refer link for more information:http://docs.fusioncharts.com/charts/contents/?Styles/Styles.html Hope this helps. Hope you have a great day. Share this post Link to post Share on other sites
jami Report post Posted February 20, 2012 Greetings, I am afraid, the feature which you are looking for, is not supported, as of now. As a work-around, you can try FusionCharts styles. Using FusionCharts styles, you can make your charts more interactive. Please refer link for more information:http://docs.fusionch...les/Styles.html Hope this helps. Hope you have a great day. I can't find the relative data. How can I do it, anyone help me? Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 20, 2012 Hi, Apologies for the miscommunication. Using FusionCharts styles, you can enhance your chart's look and you can make them more interactive. You can apply styles on the various chart's objects. Styles lends a simple mechanism using which you can easily control the visual layout of charts. You can apply styles using following elements: >Font >Animation >Shadow >Glow >Bevel >Blur However, you can highlight selective data on the chart. Please refer the link :http://docs.fusioncharts.com/charts/contents/?advanced/Highlight.html For live demo:http://www.fusioncha...ual-data-points Hope this helps. Share this post Link to post Share on other sites
jami Report post Posted February 21, 2012 Hi, Apologies for the miscommunication. Using FusionCharts styles, you can enhance your chart's look and you can make them more interactive. You can apply styles on the various chart's objects. Styles lends a simple mechanism using which you can easily control the visual layout of charts. You can apply styles using following elements: >Font >Animation >Shadow >Glow >Bevel >Blur However, you can highlight selective data on the chart. Please refer the link :http://docs.fusioncharts.com/charts/contents/?advanced/Highlight.html For live demo:http://www.fusioncha...ual-data-points Hope this helps. How can I use displayValue on my code? I also tried doing this: $FC->addChartData($b, "displayValue=test" ); But it doesn't work. please guide me if i am making any mistake, thanks. Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 23, 2012 Greetings, Could you please check, if the variable is taking value for data plot properly or not. $FC->addChartData($b, "displayValue=test" ) And also, please confirm that, FusionCharts_Gen.PHP file is included in your project or not. If not then, include this file into your project. Check the following code for your reference, <?php include('FusionCharts_Gen.php'); $FC = new FusionCharts("Column3D","600","400"); $FC->setSWFPath("./"); $strParam="caption=Weekly Sales;xAxisName=Week;yAxisName=Revenue;numberPrefix={:content:}quot;; $FC->setChartParams($strParam); $FC->addChartData("40800","label=Week 1"); $FC->addChartData("31400","label=Week 2"); $FC->addChartData("26700","label=Week 3"); $FC->addChartData("54400","displayValue=test"); ?> <html> <head> <title>Demo using PHP Class</title> <script language='javascript' src='FusionCharts.js'></script> </head> <body> <?php $FC->renderChart(); ?> </body> </html> For more information about PHP class, please read here: http://docs.fusionch...ipleCharts.html Also, find attached screenshot for your reference which is rendered using above posted code. Hope this helps. Share this post Link to post Share on other sites