Results 1 to 4 of 4

Thread: [RESOLVED] Copying a chart series to another

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member pourkascheff's Avatar
    Join Date
    Apr 2020
    Location
    LocalHost
    Posts
    384

    Resolved [RESOLVED] Copying a chart series to another

    Consider you have an array of charts, filled with one series of x,y points and you want to clone a specific one in another large chart (in another form) to perform a sort of magnification operation for selected member of that array.

    What is the proper approach to achieve such thing?

    How about a for loop to add points from here to another?
    Code:
    For i=0 to Me.Chart1.Series(0).Points.All then
                Form2.Chart1.Series(0).add = Me.Chart1.Series(0).Points(i)
            Next
    Codes are wrong. Only for understanding

    Or is there a property/method thing to shortcut looping?
    Code:
    Form2.Chart1 = Me.Chart1
    Codes are wrong. Only for understanding

    Don't know either ways. I just assumed they're possible ways.
    Thanks in advance/.
    Last edited by pourkascheff; Oct 4th, 2023 at 04:41 AM. Reason: minor syntax

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width