User (Legacy) Posted February 17, 2005 Report Share Posted February 17, 2005 I am using ChartFX 5.1 in VB.NET 2003. I am using the property pages to customise the way that my chart appears on startup. I have been able to do everything that I want with one exception. I want to be able to not show the annotation toolbar on startup. The Data/Behavior tab on the active-x properties dialog allows me to toggle on and off all of the other toolbars and menus, but does not let me toggle off the annotation toolbar. Is there a way to do this either in the designer, or in code? Many thanks Graeme Neath Link to comment Share on other sites More sharing options...
Software FX Posted February 19, 2005 Report Share Posted February 19, 2005 You need to do it in code: annotation.ToolBar = True -- FP Software FX, Inc. "Graeme Neath" <graeme@whatever.com> wrote in message news:dJMjEyQFFHA.768@webserver3.softwarefx.com... >I am using ChartFX 5.1 in VB.NET 2003. > > I am using the property pages to customise the way that my chart appears > on startup. I have been able to do everything that I want with one > exception. I want to be able to not show the annotation toolbar on > startup. > > The Data/Behavior tab on the active-x properties dialog allows me to > toggle on and off all of the other toolbars and menus, but does not let me > toggle off the annotation toolbar. Is there a way to do this either in the > designer, or in code? > > Many thanks > Graeme Neath > Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 21, 2005 Author Report Share Posted February 21, 2005 Ok, but what is 'annotation' in your example code? From my 'ChartFX1' object I can get to the following toolbar objects: DataEditorObj LegendBoxObj MenuBarObj PaletteBarObj PatterBarObj SerLegBoxObj ToolBarObj but I can't see how to get the Annotation bar object. "Software FX Support" <noreply@softwarefx.com> wrote in message news:RrAIYJtFFHA.2484@webserver3.softwarefx.com... > You need to do it in code: > > annotation.ToolBar = True > > -- > FP > Software FX, Inc. > "Graeme Neath" <graeme@whatever.com> wrote in message > news:dJMjEyQFFHA.768@webserver3.softwarefx.com... >>I am using ChartFX 5.1 in VB.NET 2003. >> >> I am using the property pages to customise the way that my chart appears >> on startup. I have been able to do everything that I want with one >> exception. I want to be able to not show the annotation toolbar on >> startup. >> >> The Data/Behavior tab on the active-x properties dialog allows me to >> toggle on and off all of the other toolbars and menus, but does not let >> me toggle off the annotation toolbar. Is there a way to do this either in >> the designer, or in code? >> >> Many thanks >> Graeme Neath >> > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 22, 2005 Author Report Share Posted February 22, 2005 Having done a quick test project I see that the 'annotation' toolbar is not one of the standard ones. I'll have a look through our code to see where it has come from! "Graeme Neath" <graeme@whatever.com> wrote in message news:ilVwTdDGFHA.1072@webserver3.softwarefx.com... > Ok, but what is 'annotation' in your example code? > > From my 'ChartFX1' object I can get to the following toolbar objects: > > DataEditorObj > LegendBoxObj > MenuBarObj > PaletteBarObj > PatterBarObj > SerLegBoxObj > ToolBarObj > > but I can't see how to get the Annotation bar object. > > "Software FX Support" <noreply@softwarefx.com> wrote in message > news:RrAIYJtFFHA.2484@webserver3.softwarefx.com... >> You need to do it in code: >> >> annotation.ToolBar = True >> >> -- >> FP >> Software FX, Inc. >> "Graeme Neath" <graeme@whatever.com> wrote in message >> news:dJMjEyQFFHA.768@webserver3.softwarefx.com... >>>I am using ChartFX 5.1 in VB.NET 2003. >>> >>> I am using the property pages to customise the way that my chart appears >>> on startup. I have been able to do everything that I want with one >>> exception. I want to be able to not show the annotation toolbar on >>> startup. >>> >>> The Data/Behavior tab on the active-x properties dialog allows me to >>> toggle on and off all of the other toolbars and menus, but does not let >>> me toggle off the annotation toolbar. Is there a way to do this either >>> in the designer, or in code? >>> >>> Many thanks >>> Graeme Neath >>> >> >> > > Link to comment Share on other sites More sharing options...
Software FX Posted February 23, 2005 Report Share Posted February 23, 2005 Indeed annotation is an Extension. Added to the chart at some point. You can use the GetExtension method to get a pointer to any of the extensions already attached to the chart. Please refer to the docs. for more information about using the annotation extension. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.