Results 1 to 6 of 6

Chart source data

Threaded View

  1. #1
    Registered User
    Join Date
    10-04-2023
    Location
    Paris
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2309 Build 16.0.16827.20130) 32-bit
    Posts
    2

    Thumbs up Chart source data

    Hello,
    In my VBA code, I calculate a matrix M of dimension (x, 1) where x is a variable number. Now I want plot M in a x-y graph. How can I source the data from the matrix? Searching on internet I found the command SetSourceData, but it requires as input a range, like:
    Charts(1).SetSourceData Source:=Sheets(1).Range("a1:a10")
    There is a way to source the data for the graph directly from M?
    Last edited by alansidman; 10-04-2023 at 11:58 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Create or add chart data source buttons outside of chart
    By aku8 in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 09-02-2021, 06:12 PM
  2. Excel chart with multi level category label issue delinking source data from chart
    By babu324 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-19-2017, 02:58 AM
  3. Replies: 3
    Last Post: 05-05-2015, 12:43 PM
  4. To get Chart Data Source of powerpoint chart by excel VBA
    By imran0305 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2014, 07:13 AM
  5. Chart not updated until chart sheet opened following source data update
    By untilyesterday in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-24-2013, 12:27 PM
  6. How do you have one source data in a chart flow into a 2nd source of data?
    By Disintegrate in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-06-2009, 09:26 AM
  7. [SOLVED] Chart data source
    By Rob in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 01-30-2005, 02:06 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1