User (Legacy) Posted January 12, 2005 Report Share Posted January 12, 2005 I am evaluating ChartFX FE .NET beta version using the ChartFX Developers Studio. I am developing in Visual Studio with VB.NET. I am unable to activate ChartFX FE programmatically. I have the following declarations and statements in my code: Dim ChartFX1 as SoftwareFX.ChartFX.Charts Dim FinExt As FinancialCharts FinExt = ChartFX1.AddExtension("CfxFE.Financial") However, I get a message that AddExtension is not a method of ChartFX1. Please help. Thanks, Link to comment Share on other sites More sharing options...
Software FX Posted January 13, 2005 Report Share Posted January 13, 2005 Appups, Sorry, but you have me completely confused. There is no "Charts" object in the SoftwareFX.ChartFX namespace Neither is there a FinancialCharts object???? The easiest way to see this in action is to add the chart.dll and chartfx.winforms.dll to your Toolbox at design time. Drop a chart then drop the Financial. THEN in the properties window for Financial Assign the Chart property to Chart1. Howver, if you want to create a Chart with FE programattically here is a snippet: <SNIPPET> Dim Financial1 As New SoftwareFX.ChartFX.Financial.WinForms.Financial Dim Chart1 As New SoftwareFX.ChartFX.Chart ' 'Chart1 ' Chart1.Location = New System.Drawing.Point(32, 24) Chart1.Name = "Chart1" Chart1.Size = New System.Drawing.Size(456, 296) ' 'Financial1 HERE THE FINANCIAL EXTENSION ATTACHES TO THE CHART (which internally calls AddExtension) ' Financial1.Chart = Chart1 'Finally add the Chart to your form Controls.Add(Chart1) </SNIPPET> On top of this you need to reference the following assemblies in your project: chartfx.dll, chartfx.base.dll, chartfx.borders.dll, chartfx.categbar.winforms.dll, AND chartfx.winforms.dll For webforms the dlls are just the internet equivalent. Hope this helps. -cjs "Appups" <tbirdie@sunflower.com> wrote in message news:83XDn4Q%23EHA.1116@webserver3.softwarefx.com... >I am evaluating ChartFX FE .NET beta version using the ChartFX Developers > Studio. I am developing in Visual Studio with VB.NET. I am unable to > activate ChartFX FE programmatically. I have the following declarations > and > statements in my code: > > > > Dim ChartFX1 as SoftwareFX.ChartFX.Charts > > Dim FinExt As FinancialCharts > > > > FinExt = ChartFX1.AddExtension("CfxFE.Financial") > > > > However, I get a message that AddExtension is not a method of ChartFX1. > > > > Please help. > > > > Thanks, > > > > > > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.