Skip to content

ArgumentNullException in TeeChart.Maui.Gallery #1

Description

@taimo42

Hi,
I'm having trouble when trying out the Maui example for the TeeChart control.
Here are the details:

Development Environment

  • Microsoft Windows 10 Pro, Version 21H2, OS build 19044.2130
  • Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.3.6

Steps to reproduce

  • Download this repository
  • Open 'TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\TeeChart.Maui.Gallery.sln' in Visual Studio
  • Select 'Windows Machine' as the target
  • Build and Run the solution

Result

System.ArgumentNullException
HResult=0x80004003
Message=Value cannot be null. (Parameter 'type')
Source=System.Private.CoreLib
StackTrace:
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Steema.TeeChart.Drawing.Shape.get_Pen()
at Steema.TeeChart.Panel..ctor(Chart c)
at Steema.TeeChart.Chart.InitVars()
at TeeChart.Maui.ChartView..ctor()
at TeeChart.Maui.Gallery.MainPage.OnCounterClicked(Object sender, EventArgs e) in .....\TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\MainPage.xaml.cs:line 25
at TeeChart.Maui.Gallery.MainPage..ctor() in .....\TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\MainPage.xaml.cs:line 11
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)

Can someone help me make this working?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions