Posted 18 April 2022, 9:41 am EST
I am trying to add the flex chart toolbar when compiling I am getting an error
Type ‘C1.Win.Chart.Toolbar.FlexChartToolbar’ is not defined.
What am I missing?
Thanks
Forums Home / ComponentOne / WinForms Edition
Posted by: Ranba790 on 18 April 2022, 9:41 am EST
Posted 18 April 2022, 9:41 am EST
I am trying to add the flex chart toolbar when compiling I am getting an error
Type ‘C1.Win.Chart.Toolbar.FlexChartToolbar’ is not defined.
What am I missing?
Thanks
Posted 19 April 2022, 4:47 am EST
Hi Ran,
It seems like there is some issue with the C1 references added to your project. Just to be sure could you please remove the existing references and re-add the following ones:
‘C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4.5.2\C1.Win.FlexChart.4.5.2.dll’
‘C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4.5.2\C1.Win.FlexChart.Toolbar.4.5.2.dll’.
Just in case, if you are trying to use FlexChartToolbar with .NET4 then we are sorry to inform you that it is not available with .NET 4.
Best Regards,
Kartik
Posted 19 April 2022, 9:16 am EST
Thanks
adding references to C1.Win.FlexChart.Toolbar fixed the issue