Sign in to follow this  
FusionCharts Support

is it possible to specify value position element?

Recommended Posts

Hi.

I just wondering if there is any way adjust chart vertical value position in column 2d chart.

because if some dataplot value is so small value is printed over the dataplot label so that hardly readable.

so I'd like print value into top of outside of dataplot when it's value is small.

 

and I also looked at column 2d chart API <set> elements and can't find any option.

is there any options that I missed or is there any other solution to solve this problem?

thanks

Share this post


Link to post
Share on other sites

thanks for replay but in this example.

var str = '<chart palette="2" forceDecimals="1" decimals="1" useRoundEdges="1" baseFont="arial" yAxisMinValue="0" yAxisMaxValue="100" numDivLines="1" chartBottomMargin="1" bgColor="#ffffff" placeValuesInside="0" baseFontSize="11" borderColor="#ffffff"><set label="aaaaa" value="40.6" color="#88BF60" placeValuesInside="0" /><set label="bbbbb" value="0" color="#88BF60" placeValuesInside="0"  /><set label="ccccc" value="10" color="#88BF60" placeValuesInside="0" /></chart>';

 var chart1 = new FusionCharts("./Column2D.swf","chart1Id_mag","400","55","0","0"); 

 chart1.setDataXML(str);

 chart1.render('chart6div');

there seems to be enough space to print value between topmagin and top of columns but still problem occur which is value and label are overlapped.

I have to set chart height less than 55 pixel to show all chart in one web page for a reason.

is there any way to solve this problem?

Regards,

Bae.

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

Please try this XML:

 

<chart labelPadding="-2" palette="2" forceDecimals="1" decimals="1" useRoundEdges="1" baseFont="arial" baseFontSize="10" yAxisMinValue="0" yAxisMaxValue="100" numDivLines="1" chartLeftMargin="0" chartRightMargin="5" chartTopMargin="5" chartBottomMargin="1" bgColor="ffffff" placeValuesInside="0" baseFontSize="11" borderColor="ffffff"><set label="aaaaa" value="40.6" color="88BF60" placeValuesInside="0" /><set label="bbbbb" value="0" color="88BF60"  /><set label="ccccc" value="10" color="88BF60" placeValuesInside="0" /></chart>

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