Hi all. i already construct a line chart of 2000 rows data with date. my question is, at some dates, there is a symbol i wanted to put into the chart, either ‘B’ or ‘S’. since there are 2000 rows of data, there are over 200 symbols to put into. can a code do this for me? i mean i have the exact dates of the symbol location in the chart and the code just match the date and plot the necessary symbol on the chart. can someone help me here, can this task be done by a code? thanks.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
line chart: editing symbol (excel 2002)
Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » line chart: editing symbol (excel 2002)
- This topic has 8 replies, 4 voices, and was last updated 20 years, 6 months ago.
Viewing 1 reply threadAuthorReplies-
WSjscher2000
AskWoody LoungerNovember 16, 2004 at 6:02 pm #900811Can you come up with a formula for the ones that need a B or an S? If so, you could add a column to your data with that formula (that is, write it once, and then copy it down all 2000 rows), and have your chart pick up that column so that if there is a B or an S, it appears automatically.
I don’t do much with Excel, but this seems to be the most Excel-like way to approach it.
-
WSboat
AskWoody LoungerNovember 17, 2004 at 4:46 am #901066Hi jscher, i seems not to get it done with your idea, maybe you could have a look where went wrong in attached file. there are Data tab, Line chart with symbol tab and Line chart tab. the Data tab basically is the data source with date, price and symbol information. Line chart is the basic chart from data source of date and price. and Line chart with symbol is the line chart included symbol column. the line chart seems reasonable but something is wrong with the line chart with symbol. if chart wizard alone can do it, it possible reduce other efforts in doing so. thank you.
Edit: although i realise data with rows like 2000 does cramp in a chart, with not nice looking graph, but i haven’t got any software that does this, and i just wanted to view the price trend and its symbol somewhere roughly, if at least this is the first step. thanks again.
-
WSHansV
AskWoody LoungerNovember 17, 2004 at 8:37 am #901110There is an excellent free add-in for Excel that will do what you want: Rob Bovey’s XY Chart Labeler. Although primarily aimed at XY scatter charts, it can be used for any type of chart.
Download and install the add-in, then activate the chart sheet in Excel, and select Tools | XY Chart Labels | Add Chart Labels.
Click in the box “Select a Label Range”, then point to the column with the symbols (DATA!$C$2:$C$35 in your sample workbook)
Then click OK.I have attached the result.
-
WSbonneyp
AskWoody LoungerNovember 17, 2004 at 11:11 am #901163Here is a quick fix that I created.
The problem is that your symbols are not numeric and can not be shown in a graph.
I changed the date to have 4 columns(Date, Data, Split, Buy)
Then had the Split and buy dates = the Data column at the point of transaction.
I then formated the points to be unique and used the default colors in the symbols.I have posted the modified chart for you to see what I have done.
-
WSbonneyp
AskWoody LoungerNovember 17, 2004 at 11:11 am #901164Here is a quick fix that I created.
The problem is that your symbols are not numeric and can not be shown in a graph.
I changed the date to have 4 columns(Date, Data, Split, Buy)
Then had the Split and buy dates = the Data column at the point of transaction.
I then formated the points to be unique and used the default colors in the symbols.I have posted the modified chart for you to see what I have done.
-
-
WSHansV
AskWoody LoungerNovember 17, 2004 at 8:37 am #901111There is an excellent free add-in for Excel that will do what you want: Rob Bovey’s XY Chart Labeler. Although primarily aimed at XY scatter charts, it can be used for any type of chart.
Download and install the add-in, then activate the chart sheet in Excel, and select Tools | XY Chart Labels | Add Chart Labels.
Click in the box “Select a Label Range”, then point to the column with the symbols (DATA!$C$2:$C$35 in your sample workbook)
Then click OK.I have attached the result.
-
-
WSboat
AskWoody LoungerNovember 17, 2004 at 4:46 am #901067Hi jscher, i seems not to get it done with your idea, maybe you could have a look where went wrong in attached file. there are Data tab, Line chart with symbol tab and Line chart tab. the Data tab basically is the data source with date, price and symbol information. Line chart is the basic chart from data source of date and price. and Line chart with symbol is the line chart included symbol column. the line chart seems reasonable but something is wrong with the line chart with symbol. if chart wizard alone can do it, it possible reduce other efforts in doing so. thank you.
Edit: although i realise data with rows like 2000 does cramp in a chart, with not nice looking graph, but i haven’t got any software that does this, and i just wanted to view the price trend and its symbol somewhere roughly, if at least this is the first step. thanks again.
-
-
WSjscher2000
AskWoody LoungerNovember 16, 2004 at 6:02 pm #900812Can you come up with a formula for the ones that need a B or an S? If so, you could add a column to your data with that formula (that is, write it once, and then copy it down all 2000 rows), and have your chart pick up that column so that if there is a B or an S, it appears automatically.
I don’t do much with Excel, but this seems to be the most Excel-like way to approach it.
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
24 minutes ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
1 hour, 31 minutes ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
1 hour, 42 minutes ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
1 hour, 55 minutes ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
2 hours ago -
Lumma malware takedown
by
EyesOnWindows
9 hours, 14 minutes ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
10 hours, 48 minutes ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
10 hours, 42 minutes ago -
Meet Gemini in Chrome
by
Alex5723
14 hours, 47 minutes ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
14 hours, 56 minutes ago -
Trump signs Take It Down Act
by
Alex5723
22 hours, 55 minutes ago -
Do you have a maintenance window?
by
Susan Bradley
10 hours, 4 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
1 hour, 7 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
1 day, 2 hours ago -
Help with WD usb driver on Windows 11
by
Tex265
1 day, 7 hours ago -
hibernate activation
by
e_belmont
1 day, 11 hours ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
1 day, 14 hours ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
1 day, 18 hours ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
1 day, 18 hours ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
14 hours, 8 minutes ago -
Out of band for Windows 10
by
Susan Bradley
1 day, 22 hours ago -
Giving UniGetUi a test run.
by
RetiredGeek
2 days, 5 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
2 days, 13 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
9 hours, 8 minutes ago -
Auto Time Zone Adjustment
by
wadeer
2 days, 17 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
2 days, 15 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
14 hours, 59 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
1 day, 8 hours ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
8 hours, 37 minutes ago -
Apps included with macOS
by
Will Fastie
1 day, 12 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.