Jump to content
Software FX Community

EdGonzalez

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by EdGonzalez

  1. Hello, ChartFX causes an XAML parse exception at window creation. I'm evaluating ChartFx and I'm attempting the basic step of creating a single window with a chart. I'm using version 8.0.3422.28509 of the ChartFX.WPF dll. The xaml for my window is copied below, along with the exception I receive. It is important to note that all of the samples run fine. I can load their solutions, build, and interact with them. It is also important to note that I am testing two other chart controls. Each control is being tested in its own window. If I disable the other two windows, then ChartFX does not throw an exception. This leads me to believe that ChartFx and at least one of the other charts are causing some conflict. The other charts I'm reviewing are Syncfusion and ComponentOne. Please, look into this issue. XAML <Window x:Class="ChartEvaluation.ChartFx" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:cfx="clr-namespace:ChartFX.WPF;assembly=ChartFX.WPF" Title="ChartFx" Height="300" Width="300"> <Grid> <cfx:Chart> </cfx:Chart> </Grid> </Window> EXCEPTION: System.Windows.Markup.XamlParseException occurred Message=" 'System.Windows.Media.Media3D.MeshGeometry3D' is not a valid value for property 'Geometry'. Error in markup file 'ChartFX.WPF;component/themes/designresources.xaml'." Source="PresentationFramework" LineNumber=0 LinePosition=0 StackTrace: at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType) at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException) at System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException) at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail) at System.Windows.Markup.BamlRecordReader.GetElementAndFlags(BamlElementStartRecord bamlElementStartRecord, Object& element, ReaderFlags& flags, Type& delayCreatedType, Int16& delayCreatedTypeId) at System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord bamlElementRecord) at System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord) at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord) at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord) at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() at System.Windows.Markup.TreeBuilder.Parse() at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) at ChartEvaluation.ChartFx.InitializeComponent() in ...\ChartEvaluation\ChartEvaluation\ChartFx.xaml:line 1 at ChartEvaluation.ChartFx..ctor() in ...\ChartEvaluation\ChartEvaluation\ChartFx.xaml.cs:line 23 InnerException: System.ArgumentException Message="'System.Windows.Media.Media3D.MeshGeometry3D' is not a valid value for property 'Geometry'." Source="PresentationFramework" StackTrace: at System.Windows.StyleHelper.ProcessSharedPropertyValue(ParserContext parserContext, Object targetObject, Object property, Object& value) at System.Windows.Markup.OptimizedTemplateContent.ReadSharedRecord(BamlRecord bamlRecord) at System.Windows.Markup.OptimizedTemplateContent.ReadRecord(BamlRecord bamlRecord) at System.Windows.Markup.OptimizedTemplateContent.AddContentRecord(BamlRecord bamlRecord) at System.Windows.Markup.TemplateBamlRecordReader.AddContentRecord(BamlRecord bamlRecord) at System.Windows.Markup.TemplateBamlRecordReader.ReadRecord(BamlRecord bamlRecord) at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord) at System.Windows.Markup.TemplateTreeBuilderBamlTranslator.ParseFragment() at System.Windows.Markup.TreeBuilder.Parse() at System.Windows.Markup.XamlTemplateSerializer.ConvertBamlToObject(BamlRecordReader reader, BamlRecord bamlRecord, ParserContext context) at System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord) at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord) InnerException:
×
×
  • Create New...