--EV
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to set tooltip for AddLine() and AddPlot()?
Collapse
X
-
How to set tooltip for AddLine() and AddPlot()?
How do I set the tool tip for lines and plots?
--EVTags: None
-
Note that lines and plots do get tooltips --it's just that they get the default ones (the line/plot's name). You're probably correct, but it's hard to believe there is no way to feed it non-default text.Originally posted by koganam View PostI am inclined to believe that the facility has not been enabled, much as we could not place a [Description()] on them in NT7. Well, we could: it just did nothing.
Perhaps one of the NT folks can tell us how to do this. If there is no way to do so, then it is a material bug, which should not be hard to fix, and which should be fixed.
--EV
Comment
-
I do not understand your suggestionOriginally posted by NinjaTrader_PatrickH View PostHello EV,
Thank you for your post.
You can use the following format to set the description:
Code:[Range(1, int.MaxValue)] [NinjaScriptProperty] [Display(Name="What", [B]Description="This"[/B], Order=1, GroupName="Parameters")] public int What { get; set; }
- You are showing how to set a tooltip for an integer property.
- The question was how to set a tooltip for a line or a plot, added with AddLine() or AddPlot()
--EV
Comment
-
I take that means there is no way to do so now?Originally posted by NinjaTrader_PatrickH View PostHello ETFVoyageur,
I will forward this suggestion to our development team.
It seems odd that NT8 does provide default tooltips for lines and plots, but provides no way to customize those same tooltips.
--EV
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
666 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
377 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
110 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
580 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment