User (Legacy) Posted April 27, 2006 Report Share Posted April 27, 2006 Hi, I have two Chart FX for Winforms for VS .NET 2005 questions: 1. I currently print daily Open High Low Close bars for stocks like Google, and also print horizontal CustomGridLines on the same chart. The problem is that the CustomGridLines always print on top of the Open High Low Close bars. I would like to print the Custom Grid Lines behind the Open High Low Close bars. How can I do this? 2. I like the way that the Text of my horizontal CustomGridLines prints nicely on the legend, but currently the order that the horizontal CustomGridLines are printed on the Legend is different than the order that the CustomGridLines are printed on the chart, from lowest price to high price. How can I print the horinzontal CustomGridLines on the legend in the same order that they appear vertically on the chart (I want the highest priced CustomGridLines to print above the lowest priced CustomGridLines)? Thanks in advance, Brook Hunter Link to comment Share on other sites More sharing options...
Software FX Posted April 27, 2006 Report Share Posted April 27, 2006 > 1) ... I would like to print the Custom Grid Lines behind the Open High > Low Close bars. How can I do this? This one is easy: customGridline.ExtraStyle |= CustomGridLineStyles.BackOnly; > 2) ... How can I print the horinzontal CustomGridLines on the legend in > the same order that they appear vertically on the chart (I want the > highest priced CustomGridLines to print above the lowest priced > CustomGridLines)? The easies way is to add them in the order in which you want them to display in the legend box. You can also sort them in the legend box using LegendBox.ItemAttributes but that would be more work. Simply add them to the chart so that the highest value is first in the list. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 28, 2006 Author Report Share Posted April 28, 2006 Hi Fernando, Thanks for the help. I was able to get the CustomGridLines to be displayed the Open-High-Low-Close bars, and the chart now looks better. One problem I noticed, however, is that when I use the line customGridline.ExtraStyle |= CustomGridLineStyles.BackOnly;, the ToolTips no longer show up when the user puts the cursor over a CustomGridLine, even if the Custom Grid Line is not obscured but an Open-High-Low-Close bar. 1. How can I get ToolTips to show up for CustomGridLines that are set to display behind all Open-High-Low-Close bars? 2. Is there any way to set a CustomAxisSection to display behind all CustomGridLines that have CustomGridLineStyles.BackOnly set? The problem is that when I set a BackColor of a CustomAxisSection, that all CustomGridLines, and their Text, is printed behind the BackColor of the CustomAxisSection. The only solution I could find to this problem was to set the Alpha Channel of the CustomAxisSection BackColor to a very transparent value. 3. I was able to sort the items in the Legend as you described as well. Everything looks great when there is only one column worth of CustomGridLine values to display. The problem is that when two columns of CustomGridLine values are displayed in the Legend, that sorting occurs like this: 1 2 3 4 5 6 7 8 9 10 I would like to sort these items from top to bottom first, like: 1 6 2 7 3 8 4 9 5 10 Is there any way to sort the values this way? This kind of sorting would match most other multi-column sorting in most software that I have seen. Thanks in advance once again! Brook Hunter "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:c0PzcijaGHA.1536@webserver3.softwarefx.com... >> 1) ... I would like to print the Custom Grid Lines behind the Open High >> Low Close bars. How can I do this? > > This one is easy: > > customGridline.ExtraStyle |= CustomGridLineStyles.BackOnly; > >> 2) ... How can I print the horinzontal CustomGridLines on the legend in >> the same order that they appear vertically on the chart (I want the >> highest priced CustomGridLines to print above the lowest priced >> CustomGridLines)? > > The easies way is to add them in the order in which you want them to > display in the legend box. You can also sort them in the legend box using > LegendBox.ItemAttributes but that would be more work. Simply add them to > the chart so that the highest value is first in the list. > > -- > Francisco Padron > www.chartfx.com > Link to comment Share on other sites More sharing options...
Software FX Posted May 2, 2006 Report Share Posted May 2, 2006 > 1. How can I get ToolTips to show up for CustomGridLines that are set to > display behind all Open-High-Low-Close bars? This is not supported. > 2. Is there any way to set a CustomAxisSection to display behind all > CustomGridLines that have CustomGridLineStyles.BackOnly set? ... I think you are experiencing a bug that has been fixed. Please contact Tech. support for a Hotfix or wait for the next Service Pack > 3. I was able to sort the items in the Legend as you described as well. > Everything looks great when there is only one column worth of > CustomGridLine ... This is not supported. The only multi-column layout we provide is the one you see here: 1 2 3 4 5 6 7 8 9 10 -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 7, 2006 Author Report Share Posted May 7, 2006 >> 1) ... I would like to print the Custom Grid Lines behind the Open >> High Low Close bars. How can I do this? >> > This one is easy: > > customGridline.ExtraStyle |= CustomGridLineStyles.BackOnly; Am I missing something?? I cannot find an ExtraStyle property on the CustomGridLine class... I need to have the custom grid lines draw behind my bars and point labels and this seems to be what I need - Just can´t seem to find it.... Thanks - Mark Link to comment Share on other sites More sharing options...
Software FX Posted May 16, 2006 Report Share Posted May 16, 2006 Is there. It may not show in the intellisense but it is there. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 16, 2006 Author Report Share Posted May 16, 2006 > Is there. It may not show in the intellisense but it is there. > ´ChartFX.WebForms.CustomGridLine´ does not contain a definition for ´ExtraStyles´ using v2.0.50727 of the ChartFX.WebForms assembly Link to comment Share on other sites More sharing options...
Software FX Posted May 16, 2006 Report Share Posted May 16, 2006 customGridline.ExtraStyle |= CustomGridLineStyles.BackOnly; Is ExtraStyle not ExtraStyles ! -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 16, 2006 Author Report Share Posted May 16, 2006 > customGridline.ExtraStyle |= CustomGridLineStyles.BackOnly; > > Is ExtraStyle not ExtraStyles ! > Grrrr.... Thanks - works now.... ;-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.