--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
-
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
-
Originally 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
-
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 wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
||
Started by wzgy0920, 04-23-2024, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
193 views
0 likes
|
Last Post
by Hasadafa
Yesterday, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,235 views
0 likes
|
Last Post Yesterday, 08:07 PM |
Comment