Sign in to follow this  
nadeemshafi9

Mb Gb Etc Number Scale Not Working

Recommended Posts

hello everyone

 

we recently migrated to rthe new open source charts free, we can still use the old ones and can get numberScale working on them with the old <chart> XMl but its not working with the new <graph> XML any help appreciated here is the code

 

the MB GB etc number scale wont take effect

 

$strXML = "

<graph

caption='Storage Usage'

bgColor='FFFFFF'

showBorder='0'

xAxisname='Date'

yAxisname='Bandwidth'

showLabels='0'

showValues='0'

chartLeftMargin='0'

chartRightMargin='0'

chartTopMargin='0'

chartBottomMargin='0'

canvasBorderColor='cccccc'

plotGradientColor=' '

defaultNumberScale='bits'

numberScaleValue='8,1024,1024,1024,1024'

numberScaleUnit='bytes,KB,MB,GB,TB'

>

{$sets}

</graph>";

 

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this