Scatter marker size based on count in datasource?

2 posts, 0 answers
  1. Bob
    Bob avatar
    46 posts
    Member since:
    Apr 2012

    Posted 01 Oct 2015 Link to this post

    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

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 02 Oct 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top