Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
I am trying to xy scatter plot with pre-defined arrays. A sampling of the
code is below but it does not recognize the arrays. Please advise. Thanks in advance. Dim Shear() As Double, NodeCoordinates() As Double Dim MyNewSrs1 As Series Set MyNewSrs1 = ActiveChart.SeriesCollection.NewSeries With MyNewSrs1 .Name = Shear .Values = Shear .XValues = NodeCoordinates End With |
#2
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
Have your arrays been populated?
Note that the data properties of the series are limited in how many characters you can use to define them. If you have long numbers (remember that most non-whole numbers may take up to 16 characters), the number of points you can describe within this limitation may be much smaller than you expect. Here's an article about this issue: http://peltiertech.com/Excel/ChartsH...ChartData.html The best approach is to dump the arrays into worksheet ranges, and chart these ranges. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://PeltierTech.com _______ "boyze" wrote in message ... I am trying to xy scatter plot with pre-defined arrays. A sampling of the code is below but it does not recognize the arrays. Please advise. Thanks in advance. Dim Shear() As Double, NodeCoordinates() As Double Dim MyNewSrs1 As Series Set MyNewSrs1 = ActiveChart.SeriesCollection.NewSeries With MyNewSrs1 .Name = Shear .Values = Shear .XValues = NodeCoordinates End With |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Arrays | Excel Discussion (Misc queries) | |||
Need help with arrays (I think) | Excel Worksheet Functions | |||
3D Arrays | Excel Worksheet Functions | |||
Arrays | Excel Worksheet Functions | |||
Custom charting - Stacked charting with a line | Charts and Charting in Excel |