Sierra Chart  

Home | Download | Help/FAQ | Data/Trade Services
Software Documentation | Posting Information


Go Back   Sierra Chart > Sierra Chart Fast Response Support Board
Retrieve lost Username/Password
Register Search Today's Posts Mark Forums Read

How to Post a Message for Support

Reply
 
Thread Tools Search this Subtopic
  #1  
Old 06-20-2010, 07:08 PM
fuzzy fuzzy is online now
Senior Member
 
Join Date: May 2009
Posts: 121
Default Questions about TOOL_RECTANGLE_HIGHLIGHT

Several questions about TOOL_RECTANGLE_HIGHLIGHT:

1. It seems the Tool.Color is not being used (is this supposed to be the outline color?)

2. How to specify the transparency level like Rectangle Highlight drawing tool?

3. How to specify the colors as input for Tool.Color and Tool.SecondaryColor like the subgraph colors (For now I have to hard code the colors in cpp file)?

4. It seems not possible to overlay to other charts.

Thank,


The following is code piece for the chart.

http://www.sierrachart.com/userimage...ploadImage.png

/********************************************/
const unsigned int PrimaryColor = RGB(255, 255, 255); //white
const unsigned int SecondaryColor = RGB(0, 0, 255); //blue

.
.
.
.
.

Tool.Clear();
Tool.ChartNumber = sc.ChartNumber;
Tool.Tool = TOOL_RECTANGLE_HIGHLIGHT;
Tool.LineNumber = rand() + 100000;

.
.
.
.
.

Tool.Region = 0;
Tool.Color = PrimaryColor;
Tool.SecondaryColor = SecondaryColor;
Tool.AddMethod = UTAM_ADD_ALWAYS;

sc.UseTool(Tool);

Last edited by fuzzy; 06-20-2010 at 07:23 PM.
  #2  
Old 06-20-2010, 07:28 PM
SC_SupportGroup's Avatar
SC_SupportGroup SC_SupportGroup is online now
Sierra Chart Support - Engineering Level
 
Join Date: Jan 2000
Posts: 34,557
Default Re: Questions about TOOL_RECTANGLE_HIGHLIGHT

1. We have to look into this.

2. The transparency level is set through Global Settings >> Tool Settings >> Highlight.

3. What you do is name an unused Subgraph dedicated for the purpose of just setting colors for these highlight drawings. Then use the Primary and Secondary color members of that Subgraph to get the colors.

4. You cannot do this.
__________________
Thank you, Cheers Mate, Danke, Merci, Gracias, Love
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy.

Last edited by SC_SupportGroup; 06-20-2010 at 07:30 PM.
  #3  
Old 06-20-2010, 07:41 PM
fuzzy fuzzy is online now
Senior Member
 
Join Date: May 2009
Posts: 121
Default Re: Questions about TOOL_RECTANGLE_HIGHLIGHT

Quote:
Originally Posted by SC_SupportGroup View Post
1. We have to look into this.

2. The transparency level is set through Global Settings >> Tool Settings >> Highlight.

3. What you do is name an unused Subgraph dedicated for the purpose of just setting colors for these highlight drawings. Then use the Primary and Secondary color members of that Subgraph to get the colors.

4. You cannot do this.
Thanks.

Regarding #2, it seems it's not using the transparency level specified in Global Settings >> Tool Settings >> Highlight.

The chart shows the difference with same settings:

http://www.sierrachart.com/userimage...ploadImage.png
  #4  
Old 06-20-2010, 08:22 PM
SC_SupportGroup's Avatar
SC_SupportGroup SC_SupportGroup is online now
Sierra Chart Support - Engineering Level
 
Join Date: Jan 2000
Posts: 34,557
Default Re: Questions about TOOL_RECTANGLE_HIGHLIGHT

2. There was a problem with this, it has been corrected. In version 612 it will use the global transparency setting for highlight drawings.

1. This is the outline color. The SecondaryColor member is the fill color for highlight drawings.
__________________
Thank you, Cheers Mate, Danke, Merci, Gracias, Love
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy.
  #5  
Old 06-20-2010, 08:33 PM
fuzzy fuzzy is online now
Senior Member
 
Join Date: May 2009
Posts: 121
Default Re: Questions about TOOL_RECTANGLE_HIGHLIGHT

Quote:
Originally Posted by SC_SupportGroup View Post
2. There was a problem with this, it has been corrected. In version 612 it will use the global transparency setting for highlight drawings.

1. This is the outline color. The SecondaryColor member is the fill color for highlight drawings.
1. Yes, this is what I understand. But the outline is not being drawn in the chart. Would this be fixed in version 612 too?
  #6  
Old 06-20-2010, 08:50 PM
SC_SupportGroup's Avatar
SC_SupportGroup SC_SupportGroup is online now
Sierra Chart Support - Engineering Level
 
Join Date: Jan 2000
Posts: 34,557
Default Re: Questions about TOOL_RECTANGLE_HIGHLIGHT

1. We will look into this.
__________________
Thank you, Cheers Mate, Danke, Merci, Gracias, Love
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy.
  #7  
Old 07-28-2010, 09:54 PM
fuzzy fuzzy is online now
Senior Member
 
Join Date: May 2009
Posts: 121
Default Re: Questions about TOOL_RECTANGLE_HIGHLIGHT

Just downloaded 619. The outline issue hasn't been fixed.
  #8  
Old 07-29-2010, 09:00 PM
SC_SupportGroup's Avatar
SC_SupportGroup SC_SupportGroup is online now
Sierra Chart Support - Engineering Level
 
Join Date: Jan 2000
Posts: 34,557
Default Re: Questions about TOOL_RECTANGLE_HIGHLIGHT

1. You need to set LineWidth to 1.
__________________
Thank you, Cheers Mate, Danke, Merci, Gracias, Love
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy.
  #9  
Old 07-29-2010, 09:07 PM
fuzzy fuzzy is online now
Senior Member
 
Join Date: May 2009
Posts: 121
Default Re: Questions about TOOL_RECTANGLE_HIGHLIGHT

Quote:
Originally Posted by SC_SupportGroup View Post
1. You need to set LineWidth to 1.
Set LineWidth to 1 works! thanks.
Reply

Thread Tools Search this Subtopic
Search this Subtopic:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 01:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.