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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

113714 Oct 5,2013 12:12 AM UTC Oct 10,2013 04:08 AM UTC Windows Phone 3
loading
Tags: Chart
Clark
Asked On October 5, 2013 12:12 AM UTC

Hi,

I'm trying to create a simple column chart.  Using the sample column chart with 4 data points, the width of each bar is a good size, however, when I add more data points to the x-axis to say 20, the bars are a very small width.

Is there a way to specify the width of the bars and have the chart scroll to the right to see more data points if it can't fit?


Sheik Syed Abthaheer M [Syncfusion]
Replied On October 7, 2013 12:20 PM UTC

Hi Clark,

Thanks for using Syncfusion products.

We have analyzed your query and you can achieve your requirement by using ZoomFactor property of Primary Axis with ZoomPanBehavior as shown in the given below code snippet.

Code Snippet [Xaml]:

<syncfusion:SfChart.Behaviors>

<syncfusion:ChartZoomPanBehavior />

</syncfusion:SfChart.Behaviors>

<syncfusion:SfChart.PrimaryAxis>

<syncfusion:CategoryAxis Interval="1" ZoomFactor="0.20" />

</syncfusion:SfChart.PrimaryAxis>


We have prepared the sample based on your requirement. Please download the sample from the below location.

Please let us know if you need any further assistance. 

Regards,
M. Sheik




WP_ColumnChart_2cfd2aa7.zip

Clark
Replied On October 7, 2013 11:41 PM UTC

Hey Sheik,

Awesome!  That worked great. 

I did try the documentation first at http://help.syncfusion.com/wp8 but did not find this option there.

Is this the right place for documentation?


Sheik Syed Abthaheer M [Syncfusion]
Replied On October 10, 2013 04:08 AM UTC

Hi Clark,

Thanks for your update.

As of now we do not have the documentation for SfChart WindowsPhone. However we will include the documentation for SfChart WindowsPhone in our upcoming releases. We are using the same API’s (Name and Type) in WinRT,WPF,Silverlight and WindowsPhone platforms. Hence you can refer the SfChart WinRT documentation for further reference.


Please let us know if you need any further assistance. 

Regards,
M. Sheik

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

;