kirank Report post Posted February 22, 2011 (edited) hi i m using MSColumn3D Graph and here is my code for the same cht_Def.AssignDataSet = DefectgetRecords(); cht_Def.XAxisName = "Defect Status"; cht_Def.YAxisName = "Count"; //cht_Def.ShowValues = "0"; //cht_Def.numberPrefix = ''; //cht.YAxisName = ddlSubCat.SelectedItem.Text.Replace("%", "Percent"); cht_Def.ChartSWF = "FusionCharts/FCF_MSColumn3DLineDY.swf"; //GeneratesGraph0.ChartSWF = "Charts/Pie2D.swf"; cht_Def.ChartCaption = "Defect Count Status"; cht_Def.ChartType = "Column3D"; cht_Def.ChartHeight = "450"; cht_Def.ChartWidth = "450"; cht_Def.ShowBorder = "false"; cht_Def.DataBind(); this is my xml databind XmlData.Append("<graph caption='" + strCaption + "' xAxisName='" + strXAxisName + "' yAxisName='" + strYAxisName + "' lineThickness='1' showValues='0' formatNumberScale='0' anchorRadius='2' divLineAlpha='20' divLineColor='CC3300' divLineIsDashed='1' showAlternateHGridColor='1' alternateHGridColor='CC3300' shadowAlpha='40' labelStep='1' numvdivlines='5' chartRightMargin='35' bgColor='FFFFFF,CC3300' bgAngle='270' bgAlpha='10,10'>"); 1. now i want to remove the y axis right and side co-ordinate plz help me how i can remove that now its showing Nan (not a number) 2. how to set y axis co-ordinate in int value now its showing in Deciaml for example (10.00) Note: plz refer the attachment for the same plz help thx Edited February 22, 2011 by kirank Share this post Link to post Share on other sites
Guest Angie Report post Posted February 22, 2011 Hi, Welcome to FusionCharts Forum! You would need to apply STYLES in order to remove axis. I am afraid, FusionCharts free does not support STYLES, at this time. This feature is available in FusionCharts v 3.2 only. Hope this helps. Share this post Link to post Share on other sites
kirank Report post Posted February 22, 2011 yes i have the License copy for the FusionCharts so plz tell me how i can do this same Share this post Link to post Share on other sites
Guest Angie Report post Posted February 22, 2011 (edited) Hi, Please find the STYLES code below to remove axis from graph. You would need to set the angle as per your requirement. <styles> <definition> <style type="Shadow" name="Shadow_1" Angle="90" Color="000000" Alpha="100" blurX="0" blurY="0" Strength="2"/> <style type="Shadow" name="Shadow_1" Angle="130" Color="000000" Alpha="100" blurX="0" blurY="0" Strength="2"/> </definition> <application> <apply toObject="CANVAS" styles="Shadow_1,Shadow_2"/> </application> </styles> Hope this helps. Edited February 22, 2011 by Angie Share this post Link to post Share on other sites
kirank Report post Posted February 22, 2011 now i m using FCF_MSColumn3D instead of FCF_MSColumn2DLineDY i have one more question how i can set the y co-ordinates in int value now its showing 10.00 , 15.00 i want to set it as a 10 15 like that Share this post Link to post Share on other sites
Guest Angie Report post Posted February 22, 2011 (edited) Hi, Please try the same using <decimals='0'> and <formatNumber='0'> attribute inside the <graph> element. For more details, please refer to the link: http://www.fusioncharts.com/free/docs/Contents/Adv_Number_Basics.html Hope this helps. Edited February 22, 2011 by Angie Share this post Link to post Share on other sites
Nikki Report post Posted March 7, 2011 (edited) How would I do this using Fusion Charts PHP? <styles> <definition> <style type="Shadow" name="Shadow_1" Angle="90" Color="000000" Alpha="100" blurX="0" blurY="0" Strength="2"/> <style type="Shadow" name="Shadow_1" Angle="130" Color="000000" Alpha="100" blurX="0" blurY="0" Strength="2"/> </definition> <application> <apply toObject="CANVAS" styles="Shadow_1,Shadow_2"/> </application> </styles> AND should the second one be Shadow_2? Edited March 7, 2011 by Nikki Share this post Link to post Share on other sites
Nikki Report post Posted March 7, 2011 I have this: $FC->defineStyle("shadow_1","shadow", "angle=90;color=000000;alpha=100;blurX=0;blurY=0;strength=2"); $FC->defineStyle("shadow_2", "shadow", "angle=130;color=000000;alpha=100;blurX=0;blurY=0;strength=2"); $FC->applyStyle("CANVAS","shadow_1"); $FC->applyStyle("CANVAS","shadow_2"); But it does nothing from what I can see. Share this post Link to post Share on other sites
Guest Angie Report post Posted March 8, 2011 Hi, Welcome to FusionCharts Forum! Please refer to the link: http://www.fusioncharts.com/docs/?PHPClassAPI/Functions.html Please try the same using getXML function and print the xml in the browser. If the issue still persists, please send us a screenshot to look into it. Hope this helps. Share this post Link to post Share on other sites