Jump to content
Software FX Community

Set Tooltip format just for one series?


sheng

Recommended Posts

 I'm using financial extension to graph some stock data. I found that the default tooltip doesn't show the date. So I had to set the ToolTipFormat myself.

Here is my code:

Chart1.ToolTipFormat = "Date: %x \nOpen: %v2\nHigh: %v4 - Low: %v1\nClose: %v3";

After that, the display of the tooltip is: "Date: 01/30/2008 Open: 1.2 High: 2.0 - Low: 1.1 Close: 1.6" which is good.

However, the ToolTipFormat applies to everything including custom studies, technical indicators(SimpleMovingAverage, MACD, etc. ).

They all display something like this:"Date: 01/30/2008 Open:"

So how do I set the tooltipFormat to make it only applies to the main series?

 

Thanks a lot.

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...