SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Answered
0
0

Hello all,

I have a problem with the assembly reference. Whenever I use Scichart (XAML) in a subfolder (Microlevel\Controls\SciChart\UserControlScichartFIFO.xaml) I get the following error:
The Type or Namespace “Charting” is not available in the Namespace “Mircolevel.Controls.SciChart”. (Maybe a assembly reference is missing)
If I use Scichart directly under the WPF Project I don’t get this error.
I have added the following Scichart assemblies:
Scichart.Charting
Scichart.Core
Scichart.Data
Scichart.Drawing

In the XAML editor I added the following reference:
xmlns:s=”http://schemas.abtsoftware.co.uk/scichart”

I don’t have any idea what I’am doing wrong, because the reference to other assemblies I have added are available in the subfolders.

Thanks in advanced.

Version
v4.0
Images
  • You must to post comments
Best Answer
0
0

It sounds to me like a namespace conflict between Mircolevel.Controls.SciChart and SciChart.Charting.*

If you simply rename your namespace to Mircolevel.Controls.SciCharts does the problem go away?

If YES then look for areas where the namespaces might be conflicting and resolve.

Best regards,
Andrew

  • You must to post comments
0
0

Hi Andrew,

you got the point. I renamed the subfolder to “Charts” and that solved my problem.

Thanks for you comment!!

  • Andrew
    Great! Glad to be of help!
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.