Sign in to follow this  
dcwebcat

Data Label Display Inside Column?

Recommended Posts

Hello - :rolleyes:

 

Is it possible to place the Data Label inside of a 3D column? I would like to have the values AND the Data Label inside the column. I have the values inside but cannot figure out how to place the Data Label in there. They show up under the chart by default.

 

Many thanks!!!!

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

I am afraid, you will not be able to place the data labels inside the column.

 

However, as a work around, you may hide the data labels and define displayValue attribute in each of the set element and set it to both data value and data label explicitly.

 

Ref. Code:

<chart placeValuesInside='1' showLabels='0' ...>
<set label='Jan' value='420000' displayvalue='$420k{br}{br}{br}Jan'/>
  <set label='Feb' value='910000' displayvalue='$910k{br}{br}{br}Feb'/>
  <set label='Mar' value='720000' displayvalue='$720k{br}{br}{br}Mar'/>
  <set label='Apr' value='550000' displayvalue='$550k{br}{br}{br}Apr'/>
...
</chart>

 

Please find attached screen shot of the chart rendered with the above settings applied.

 

Hope this helps!

post-23884-0-45655500-1349859377_thumb.png

Share this post


Link to post
Share on other sites

Hi,

 

I am afraid, you will not be able to place the data labels inside the column.

 

However, as a work around, you may hide the data labels and define displayValue attribute in each of the set element and set it to both data value and data label explicitly.

 

Ref. Code:

<chart placeValuesInside='1' showLabels='0' ...>
<set label='Jan' value='420000' displayvalue='$420k{br}{br}{br}Jan'/>
  <set label='Feb' value='910000' displayvalue='$910k{br}{br}{br}Feb'/>
  <set label='Mar' value='720000' displayvalue='$720k{br}{br}{br}Mar'/>
  <set label='Apr' value='550000' displayvalue='$550k{br}{br}{br}Apr'/>
...
</chart>

 

Please find attached screen shot of the chart rendered with the above settings applied.

 

Hope this helps!

 

Thank you! This works great!

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

You will have to use sufficient {br}s and place it in the center manually :D

 

There are no attributes defined to do this job, as of now.

 

Hope this helps!

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

No. This is not possible. Displaying pie labels on the pie slices (inside the pie chart.).

 

Thanks for your time and support.

Share this post


Link to post
Share on other sites

Hi,

 

No. This is not possible. Displaying pie labels on the pie slices (inside the pie chart.).

 

Thanks for your time and support.

 

Showing data labels inside the Column is possible in Fusion Chart.

Please use this attribute "placeValuesInside='1'" while creating the column chart.

this will place the label inside the column

Sooraj

 

 

Share this post


Link to post
Share on other sites

Hi Sooraj,

 

Welcome to FusionCharts Forum.

 

"placeValuesInside" attribute is applicable only for Column/Bar charts to place the values within a Column/Bar.

 

However, it is not possible to place the values within a pie using FusionCharts currently.

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