We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Multiple columns on vertical chart?

I'm trying to add multiple line series, each in their own column (so there is no overlap) but when I try to define columns, I see the following message 

The local property "ColumnDefinitions" can only be applied to types that are derived from "ChartBase"

How do I add multple columns in WPF?

        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Syncfusion="clr-namespace:Syncfusion.UI.Xaml.Charts"
        xmlns:chart="http://schemas.syncfusion.com/wpf" x:Class="MainWindow"
        Title="MainWindow" Height="388" Width="800"
        >

   
       
           
       
       
           
       

                

           
               
           
            
           
               
           

           
                
               
                   
                    
               
           

           
               
                   
               
           
       


   


3 Replies

SJ Sumathi Jayaraj Syncfusion Team September 30, 2014 10:48 AM UTC

Hi Dustin,

 

Thank you for using Syncfusion products.

 

We have analyzed your query and we would like to inform you that ColumnDefinition is the attached property of ChartBase. We have prepared a sample based on your requirements. Please find the sample in the following location.

 

Please let us know if you require further assistance on this.

 

Regards,

Sumathi J


Attachment: Multiple_column_a492cb41.zip


DD Dustin Davis September 30, 2014 05:14 PM UTC

Please note that the example you gave me worked, but I was only able to get it working on my project after setting the target framework to .NET 4.5.1 (previously it was 4.5). This might be an issue. 


SJ Sumathi Jayaraj Syncfusion Team October 1, 2014 12:00 PM UTC

Hi Dustin,

Sorry for the inconvenience caused.

We have attached the sample with 4.5.1 .net framework. Please find the sample in the following location.

Regards,
Sumathi J

Attachment: Multiple_column_a44070ef.zip

Loader.
Live Chat Icon For mobile
Up arrow icon