![]() |
Home
| Download
| Help/FAQ
| Data/Trade Services
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Subtopic |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
Quote:
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
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
Just downloaded 619. The outline issue hasn't been fixed.
|
|
#8
|
||||
|
||||
|
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
|
|||
|
|||
|
Set LineWidth to 1 works! thanks.
|