This is a migrated thread and some comments may be shown as answers.

Scatter marker size based on count in datasource?

1 Answer 62 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 01 Oct 2015, 12:53 PM

Hello Stamo and others,

Is it possible to bind the marker size to a value like a count within the data source?  Or will we have to programmatically create the ScatterSeriesItem and set the marker size within code?  Or can we databind the scatter series items then iterate over the items (after binding) and set the marker size for each item in code?

Thanks in advance,
Bob Baldwin
Trabon Solutions

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 02 Oct 2015, 10:27 AM
Hello Bob,

You can try to use a function that returns the size based on some condition. For example:

$find('RadHtmlChart2').get_kendoWidget().options.series[0].markers.size = function(e){return 10};
$find('RadHtmlChart2').get_kendoWidget().redraw();

Regards,
Danail Vasilev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart (HTML5)
Asked by
Bob
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or