| T O P I C R E V I E W |
| AKazak |
Posted - 02/17/2026 : 1:32:42 PM OriginPro 2026b (64-bit) Beta2 10.3.5.62 Windows 10 Pro
Greetings!
How do I remove sparklines from a column of a worksheet using LT?
I found del -spk; that deletes all project sparklines (https://www.originlab.com/doc/LabTalk/ref/Delete-cmd), but this is not what I actually want.
Thank you.
--- Andrey |
| 1 L A T E S T R E P L I E S (Newest First) |
| ChaoC |
Posted - 02/19/2026 : 5:12:25 PM Hello Andrey,
Sparklines are embedded graphs so you can delete the graph to delete the sparkline.
win -c <window name>; will delete the graph so we write some code to find the sparkline graph shortname.
For example, we want to remove the sparkline in [Book1]Sheet1!E:
string spklineName$=[Book1]Sheet1!col(E)[S]$; i=spklineName.TrimLeft(embedding:); win -c %(spklineName$);
Best, Chao
|
|
|