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.

scatter symbol size

Thread ID:

Created:

Updated:

Platform:

Replies:

97212 Nov 8,2010 04:38 PM Jun 14,2011 01:22 AM WPF 16
loading
Tags: Chart
Bill Swartz
Asked On November 8, 2010 04:38 PM

How can I change the size of the ellipse used to display points in a scatter chart?
Bill


Nithin Kaushik A [Syncfusion]
Replied On November 9, 2010 01:40 AM

Hi Bill,

Thanks for your interest in syncfusion products.

We can achieve your requirement using Template property of ChartSeries. Find the sample code snippet below

XAML:




Canvas.Left="{Binding X}" Canvas.Top="{Binding Y}" ToolTip="{Binding ToolTip}">








We have also created a simple sample for your requirements, Please download the sample from the below location.

Please let me know if you have any queries.

Regards
Nithin Kaushik



ScatterChart_4cdc9c28.zip

Bill Swartz
Replied On November 15, 2010 03:27 PM

Nithin,

Thanks for the sample. I noticed that changing the chart type from Scatter to FastScatter breaks your sample. Is there an easy way to modify the sample to work with FastScatter series?

Bill


Nithin Kaushik A [Syncfusion]
Replied On November 18, 2010 05:10 AM

Hi Bill,

Thanks for choosing Syncfusion products.

We can achieve your requirement by inheriting the ChartFastSeriesPresenter class and overriding the OnRender method.

We have created a sample for your requirements, Please download the sample from the below location.

Let me know if you have any queries.

Regards
Nithin Kaushik




FastScatterChartSample_c5b8a99.zip

Bill Swartz
Replied On November 18, 2010 12:26 PM

Nithin,

Your sample works. I see class ChartFastScatterPresenter in Object Browser. I can find no helpful information about this class. Could it be of use? Am I overlooking information about this class?

Bill


Nithin Kaushik A [Syncfusion]
Replied On November 22, 2010 05:03 AM

Hi Bill,

Thanks for your interest in Syncfusion products.

ChartFastSeriesPresenter is the base class for ChartFastScatterPresenter class, You can inherit the ChartFastScatterPresenter class and override The OnRender method and can change the size of the ellipse displayed in FastScatter chart type.

We have attached a sample based on your requirements.Please download the sample from the below location.

Let us know if you have any questions.

Regards,
Nithin Kaushik



ChartSample_c36f693a.zip

Bill Swartz
Replied On November 29, 2010 12:10 PM

Nithin, thanks.
Bill


Nithin Kaushik A [Syncfusion]
Replied On November 30, 2010 01:35 AM

Hi Bill,

Thanks for choosing Syncfusion products

Thanks for your update, and Please do not hesitate to open a new Forum if you ever need further assistance from us.

Let us know if you have any questions.

Thanks,
Nithin Kaushik



John Fairbanks
Replied On December 29, 2010 02:36 PM

Seriously?! I can't tell y'all how much time I've spent trying to figure this out and I can't believe how HARD it is. Even the DataTemplate solution is hard. Can't y'all just add something like a MarkerSize attribute or something? The only official sample on using DataTemplate is useless (it is done through code behind using a stock template), and the documentation gives NO INFORMATION on how to use a template, just one example with no explanation.


Saravanan A [Syncfusion]
Replied On December 31, 2010 05:48 AM

Hi John,

Thank you for your interest in Syncfusion product.

We are using the low level API such as DrawingVisual concept to render Fast chart types to achieve better performance. So you cannot initialize fast chart types template in XMAL as we have defined for default Scatter chart type. You should customize your fast chart types in OnRender method of FastLineScatterPresenter class.

We have minimized the code for Fast Scatter with custom template sample. Please download the sample from the below location.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=FastScatterCharts1288413969.zip


We will expose API properties to easily customize the size of Scatter and FastScatter chart type segment. This has been confirmed as a Feature Request and it will be available in our Volume-2 release which is scheduled on middle of April 2011.

Please let us know if you have any queries.

Thanks,
Saravanan



John Fairbanks
Replied On January 5, 2011 11:15 AM

Thanks for your explaination and for the simplified example. This stuff works like a charm now. Difficult to use, but extremely fast performance which is what is really important.


Saravanan A [Syncfusion]
Replied On January 6, 2011 12:46 AM

Hi John,

Thanks for choosing Syncfusion products.

We are glad to hear that your problem has been resolved. Please do not hesitate to open a new support incident in Direct Trac if you ever need further assistance from us.

Regards,
Saravanan


Matt Machalinski
Replied On June 7, 2011 06:08 PM

I just downloaded the latest version 9.2, and do not see the API properties that were supposed to be in the April build. Could you please let me know what the API properties are to change marker size?


Matt Machalinski
Replied On June 7, 2011 06:13 PM

Nevermind, just found the new scatter demo and:

ChartScatterType.SetScatterHeight(ser, height.Value);
and
ChartScatterType.SetScatterWidth(ser, height.Value);


Saravanan A [Syncfusion]
Replied On June 8, 2011 01:07 AM

Hi Matt,

Thanks for your update.

We are glad to hear that your problem has been resolved. Please do not hesitate to open a new support incident in Direct Trac if you ever need further assistance from us.

Thanks for choosing Syncfusion product.

Regards,
Saravanan



John Fairbanks
Replied On June 13, 2011 10:12 AM

Thanks for adding this! Exactly what we needed.


Saravanan A [Syncfusion]
Replied On June 14, 2011 01:22 AM

Hi John,

Thanks for your update.

Please let us know if you have any other concerns.

Regards,
Saravanan



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.

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.

;