pitommasi

Single Column Width

Recommended Posts

Hi,

 

If you want very thin bars, you can set "plotSpacePercent" attribute to its max value of 80.

 

I hope this helps :)

 

 

I ABSOLUTELY need to solve this!!!

If a 2D bar chart has only one bar, the bar is HUGE and I do not whant this to happen: how can I solve this problem?

thanks in advance

Share this post


Link to post
Share on other sites

I hope this helps :)

 

 

Obviously, it doesn't!!!!!!

I have been very specific, I said: "a chart with just ONE bar", which is rendered like the screenshot attached.

Here is the XML:

<chart decimalprecision="1" showlegend="0" bgcolor="e8efef" bgAlpha="100" plotGradientColor=" " plotSpacePercent="80" showBorder="0" labelDisplay="Rotate" slantLabels="1" rotateValues="1">
<set label="NE" value="204360.0" color="4C96C9" ></set>
</chart>

 

since, in other charts of my applications, there are more bars, that are way thinner, this looks very UGLY!

post-14963-0-16878800-1317105077_thumb.jpg

Share this post


Link to post
Share on other sites

Hi,

 

Thank you for the response.

 

I'm afraid, FusionCharts does not support this feature currently.:(

 

 

 

 

Obviously, it doesn't!!!!!!

I have been very specific, I said: "a chart with just ONE bar", which is rendered like the screenshot attached.

Here is the XML:

<chart decimalprecision="1" showlegend="0" bgcolor="e8efef" bgAlpha="100" plotGradientColor=" " plotSpacePercent="80" showBorder="0" labelDisplay="Rotate" slantLabels="1" rotateValues="1">
<set label="NE" value="204360.0" color="4C96C9" ></set>
</chart>

 

since, in other charts of my applications, there are more bars, that are way thinner, this looks very UGLY!

Share this post


Link to post
Share on other sites

Hi,

 

The width of the column in a column chart having a single column plot is rendered based on the chart dimension. You can set the width of the column according to your requirement using the below possible configurations :

- using "plotSpacePercent" attribute.

- using "maxColWidth" attribute.

Please check the sample fiddle for reference : http://jsfiddle.net/7qro1dxj/3/

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites
10 hours ago, Akash Biswas said:

Hi,

 

The width of the column in a column chart having a single column plot is rendered based on the chart dimension. You can set the width of the column according to your requirement using the below possible configurations :

- using "plotSpacePercent" attribute.

- using "maxColWidth" attribute.

Please check the sample fiddle for reference : http://jsfiddle.net/7qro1dxj/3/

 

Thanks,

Akash.

Hi Akash,

Thanks for your reply! Is this possible using the horizontal 2dbar chart?

Share this post


Link to post
Share on other sites

Hi Israel,

 

Yes, for horizontal bar chart(bar2d), the attribute "plotSpacePercent" is supported similar to the column2d chart type.

But for bar2d chart you can use "maxBarHeight" instead of "maxColWidth" which is supported for column chart.

Sample fiddle : http://jsfiddle.net/zndpL7b3/1/

 

Thanks,

Akash.

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