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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Multiple columns on vertical chart?

Thread ID:

Created:

Updated:

Platform:

Replies:

117333 Sep 29,2014 10:10 PM UTC Oct 1,2014 12:00 PM UTC WPF 3
loading
Tags: SfChart
Dustin Davis
Asked On September 29, 2014 10:10 PM UTC

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"
        >

   
       
           
       
       
           
       

                

           
               
           
            
           
               
           

           
                
               
                   
                    
               
           

           
               
                   
               
           
       


   


Sumathi Jayaraj [Syncfusion]
Replied On 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

Dustin Davis
Replied On 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. 

Sumathi Jayaraj [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;