writes:
>
> Win32::OLE Excel Chart SeriesCollection.
> Problem when changing from Excel 2000 to 2002
>
>
> I have a data sheet with 5 columns of data called $Sheet.
> In Excel 2000 each of the columns ends up in a separate series
> when creating a chart with the 5 columns in the datarange.
>
> When switching from Excel 2000 to Excel 2002 the chart creation
> takes the 5 column range and sets the first 4 columns as the
> first series.
>
> Does anyone have any idea how to work around this or why it's happening?
> Or pointers to relevant documentation somwhere. Or any other
> suggestions
I found the problem, locale... or lack of it.
On the first computer the WIN-XP was swedish and MSOffice english [1]
so when perl used dot as a decimal separator it worked fine.
Om the new computer both XP and MSOffice was swedish and it broke
on 23.45 when it expected 23,45.
Example Data:
08:00-08:15 | 148 | 56 | 43.275 | 80
08:15-08:30 | 153 | 18 | 11.999 | 90
Column data should be interped as follows
text | number | number | number | number
but since dot was no longer decimal separator
excel interped it as
text | number | number | text | number
and then decided that the first four
columns should be DataSeries(1). That
gave me this data
text | number
08:15-08:30 153 18 11.999 | 90
I wonder why???
/moller
[1]. Somthing I missed