Sign in to follow this  
tmorsey

Gap Above Column - How To Remove?

Recommended Posts

I'm drawing a 2d Stacked Column and there is small gap between the top of the column and the chart border. How can I remove this? I've tried many different chart and canvas margins and paddings and nothing works. You can see the small (10%) game above the blue bar and below the chart border in my attachment.

 

post-1163-0-48496600-1363191440_thumb.jpg

 

 

I've tried the following with no luck:

 

canvasTopMargin=0

yAxisNamePadding=0

valuePadding=0

chartTopMargin='0'

yAxisValuesPadding=0

canvasPadding='0'

 

Thanks

 

Tony

Edited by tmorsey

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi Tony.

 

Could you please try once by providing the "yAxisMaxValue" to the maximum value among the data points?

 

Ref Code:

<chart canvasTopMargin='0' chartTopMargin='0' yAxisMaxValue='29800' >

......

<dataset seriesName='Product A'>

<set value='27400' />

<set value='29800'/>

<set value='25800' />

</dataset>

</chart>

 

If this is what is not able to fulfill your requirement, could you please provide the complete XML/JSON data, to test from our end?

 

Hope this helps!

 

Looking forward to your response.

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