HOW TO

Change the maximum number of data records allowed in a chart

Last Published: April 25, 2020

Summary

ArcView 3.x has an internal maximum of 100 records allowed to be used when creating charts. If you find this number too small for your application, you can use Avenue to increase it.

Procedure



  1. Open a new script window.

    A. Activate the Project window.
    B. Click the Scripts icon.
    C. Click New.

  2. Copy the following code into the script window:

    Code:
    theChart = av.GetActiveDoc
    '-- Set the number of records, this example uses 200
    theChart.GetChartDisplay.SetMaxDataPoints(200)

  3. Click the
    [O-Image] Script compile button
    button to compile the script.
  4. Click on the chart that needs a larger number of records displayed.
  5. Go up to the Window menu and select Script1.
  6. Click the
    [O-Image] Run compiled script button
    button to run the script.
  7. Refresh your chart.
    Note:
    One way to refresh the chart is to go to the Chart menu and select Properties. Once the Chart Properties dialog opens, click ok.

Article ID:000004077

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic