Sign in to follow this  
Parthkashyap

Bubble chart data value display

Recommended Posts

Hi,

 

I was looking at creating a bubble chart and it looked fine, the only issue I have is that while displaying the data values i do not want to display it inside the bubble but beside the bubble, is this possible ?

 

Thanks

parth

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi Parth,

 

With regard to your query, please note that natively FusionCharts XT does not provide any attribute to set the data values besides the bubbles, as of now.

 

However, as a work around, you could provide the data values as string in "displayValue" attribute of set element, along with {br} pseudo code (for moving the value down the bubble) or HTML encoded space "  " (for moving the value towards right of the bubble).

 

Please find the attached screen shot along with the XML code sample below, for your reference.

 

XML code sample:

<chart showValues='1'>
<dataSet>
<set x='40' y='1.3' z='116' name='Traders' displayValue='{br}{br}{br}{br}{br}{br}{br}Traders' />
<set x='60' y='3.5' z='99' name='Farmers' displayValue='                                       Farmers' />
</dataSet>
</chart>

Hope this helps!

post-23588-0-52879400-1394528025_thumb.png

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