Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
mrt mrt is offline
external usenet poster
 
Posts: 70
Default 2007: Chartwizard bugs

Problems with the Chartwizard:

- If you select a range with two columns and use it as the source with the
ActiveChart.ChartWizard method, for an xlXYScatter chart, you'll get two
series, while you had one previously (and that was LOGICAL).

- If you set Categorylabels:=True, SeriesLabels:=False, and if the first
category is empty, Excel 2007 decides that in fact, SeriesLabels is true. Why
that, no clue. It wasn't so before. And it was better before because it was
so before.

No, no, that's not the beta ...

MrT


  #2   Report Post  
Posted to microsoft.public.excel.programming
mrt mrt is offline
external usenet poster
 
Posts: 70
Default 2007: Chartwizard bugs

Just a comment on that

- If you select a range with two columns and use it as the source with the
ActiveChart.ChartWizard method, for an xlXYScatter chart, you'll get two
series, while you had one previously (and that was LOGICAL).


- If you set Categorylabels:=True, SeriesLabels:=False, and if the first
category is empty, Excel 2007 decides that in fact, SeriesLabels is true. Why
that, no clue. It wasn't so before. And it was better before because it was
so before.


In fact, that's the same problem as above. Then it forces to consider
serieslabels as true.

  #3   Report Post  
Posted to microsoft.public.excel.programming
mrt mrt is offline
external usenet poster
 
Posts: 70
Default 2007: Chartwizard bugs

Many things related to the chart wizard behavior have been changed. Automatic
guesses are weird and totally ineffective, and sometimes depend on the
chart/data types. CategoriesLabels and SeriesLabels are not taken into
account if guesses have been made. It will be a big hassle to adapt your code
to version 2007. Believe me.

MrT
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 2007: Chartwizard bugs - Mr

Little late but here's how I did it...

'Set PlotRange = Union(GraphRange1, GraphRange2)
'ActiveChart.ChartWizard Source:=PlotRange, _
Gallery:=xlXYScatter, Format:=1, PlotBy:=1, CategoryLabels:=1, _
SeriesLabels:=0, HasLegend:=2, Title:=ChartTitle & _
CategoryTitle:=CatAxisTitle, ValueTitle:=ValueAxisTitle, ExtraTitle:=""

ActiveChart.SeriesCollection(1).XValues = GraphRange2
ActiveChart.SeriesCollection(1).Values = GraphRange1
ActiveChart.ChartTitle.Caption = ChartTitle

ActiveChart.ChartType = xlXYScatter
ActiveChart.HasLegend = False
ActiveChart.Axes(xlCategory).HasTitle = True
ActiveChart.Axes(xlCategory).AxisTitle.Caption = CatAxisTitle
ActiveChart.Axes(xlValue).HasTitle = True
ActiveChart.Axes(xlValue).AxisTitle.Caption = ValueAxisTitle

Cheers
/H Adler

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
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
bugs in microsoft exel 2007 tjatja Excel Discussion (Misc queries) 7 March 11th 10 02:21 AM
ChartWizard Gabi Charts and Charting in Excel 2 January 27th 07 04:01 PM
Upgrading Add-Ins to Excel 2007 -- Compatibility & Bugs Anthony Berglas Excel Programming 5 September 21st 06 09:41 PM
Reporting several Bugs for Excel 2007 Beta 2 Sstar99 Excel Programming 3 September 21st 06 06:20 PM
Excel 2007 Beta - 30 bugs Andrew B Excel Discussion (Misc queries) 5 August 9th 06 10:25 AM


All times are GMT +1. The time now is 11:19 PM.

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"