Hello,
I Pie2D chart with following Code I am not able to get Legends even I have added showLegend="1" can you please help me out on this problem,
$strXMLData = "<chart caption='Budget Report' showPercentageInLabel='1' showBorder='0' bgColor='e6f2fa' showValues='1' showLabels='0' showLegend='1' showBorder='0' canvasBorderColor='666666' enableSmartLabels='1'>";
$strXMLData .= "<set value='65' label='Remaining Actual Budget' color='429EAD'/>";
$strXMLData .=" <set value='35' label='Used Budget' color='4249AD'/>";
$strXMLData .=" </chart>" ;
$chart= renderChartHTML( LIBRARY_PATH . '/charts/Pie2D.swf' , '' , $strXMLData , 'Budget Report' , 200 , 200 , true ) ;
Debug Mode Information:
Info: Chart loaded and initialized.
Initial Width: 200
Initial Height: 200
Scale Mode: noScale
Debug Mode: Yes
Application Message Language: EN
Version: 3.0.4
Chart Type: 2D Pie Chart Chart
Chart Objects:
BACKGROUND
CANVAS
CAPTION
SUBCAPTION
DATALABELS
DATAPLOT
TOOLTIP
INFO: XML Data provided using dataXML method.
XML Data: <chart caption="Budget Report" showPercentageInLabel="1" bgColor="e6f2fa" showValues="1" showLabels="0" showLegend="1" showBorder="0" canvasBorderColor="666666" enableSmartLabels="1"><set value="65" label="Remaining Actual Budget" color="429EAD" /> <set value="35" label="Used Budget" color="4249AD" /> </chart>
I am not able to find what mistake I have done in above mentioned code can anyone please help me how do I get Legends?
Regards,
Hemanath