Hi All
I'm a bit of a novice with PS, and have been trying to create a graphic, following the tutorial here.
There a section where he enters x & y values using an array:
I've modified this to enter my own series of data, but it does not seem to have any specific order when displayed on the chart. I need the data to display in the order that I've entered it into the array - London, Berlin, Madrid, Rome, Paris (X axis). How can I do that?
Thanks
s
I'm a bit of a novice with PS, and have been trying to create a graphic, following the tutorial here.
There a section where he enters x & y values using an array:
Code:
# add data to chart
$Cities = @{London=7556900; Berlin=3429900; Madrid=3213271; Rome=2726539;
Paris=2188500}
[void]$Chart.Series.Add("Data")
$Chart.Series["Data"].Points.DataBindXY($Cities.Keys, $Cities.Values)
I've modified this to enter my own series of data, but it does not seem to have any specific order when displayed on the chart. I need the data to display in the order that I've entered it into the array - London, Berlin, Madrid, Rome, Paris (X axis). How can I do that?
Thanks
s