Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 92
Default Automatic location and order of DataLabels?

Hi,

I have a stacked column chart with three colors on all three columns,
created automatically with code. When the column is small, the labels
come upon each other - can anybody tell how code can ensure that
datalabels come above eachother and not upon each other?

Some code to ensure that they come x points over eachoteher (in right
order) if they are to close, maybe?

Kind regards,
tskogstrom

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,344
Default Automatic location and order of DataLabels?

You are going to need to create formulas in the spreadsheet to control the
some hidden series. Create the formulas such that if the values are close
together the formulas add some additional value. Create two sets of these
formulas one to create values relative to the first series and the second for
values relative to the second series. For example =IF(A1-B1<5,B1+10,B1).
Plot these extra series on your chart with data labels but hide the markers
and line (or borders and area).

--
Thanks,
Shane Devenshire


"tskogstrom" wrote:

Hi,

I have a stacked column chart with three colors on all three columns,
created automatically with code. When the column is small, the labels
come upon each other - can anybody tell how code can ensure that
datalabels come above eachother and not upon each other?

Some code to ensure that they come x points over eachoteher (in right
order) if they are to close, maybe?

Kind regards,
tskogstrom


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
product date stamp file save Robert Loxley Excel Discussion (Misc queries) 12 November 13th 06 02:48 PM
Delete range on another sheet when checkbox is unchecked Robb27 Excel Discussion (Misc queries) 14 April 5th 06 12:54 AM
Stock Location Sorting Problem mark1caroline Excel Discussion (Misc queries) 3 July 13th 05 03:53 PM


All times are GMT +1. The time now is 08:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"