White gaps at begin and end

3 posts, 0 answers
  1. EM-Software
    EM-Software avatar
    75 posts
    Member since:
    Feb 2010

    Posted 19 Aug Link to this post

    Hi,

    We're using your radhtmlchart to display subscriptions data by month, and this data is dynamically. Sometimes, there is a huge white gap at beginning and ending of the chart which i can't remove (see the attachment). 

    For the X axis, i have set the MaxDate and MinDate values with the first and last possible dates and tried to set Step config but it don't works. The MinValue and MaxValue for Y axis works as expected.

    Is there something i can try to minimalize this white gaps?

    Kind regards,

    Jelle

  2. EM-Software
    EM-Software avatar
    75 posts
    Member since:
    Feb 2010

    Posted 19 Aug Link to this post

    And how to set the min height of funnel item? Please see the attached image for example, when the fourth item haves low count, it results into very low item with too big label. 

    The dynamic height is enabled, i like the automatically resize of the items based at the values but it needs min height...

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joana
    Admin
    Joana avatar
    70 posts

    Posted 24 Aug Link to this post

    Hi Jelle,

    Regarding the first issue with the white gaps, MinValue and MaxValue properties for the XAxis were available only for category axes but in R3 2016 we'll include this functionality for numeric series(as is ScatterLine series). Here you could track the progress and get a workaround: http://feedback.telerik.com/Project/108/Feedback/Details/145264. For your convenience, I am pasting the solution: 

    <script>
        function pageLoad() {
            var chart = $find("<%=RadHtmlChart1.ClientID%>");
            chart._chartObject.options.xAxis.min = new Date(2013, 04, 01);
            chart._chartObject.options.xAxis.max = new Date(2013, 05, 01);
            chart.repaint();
        }
    </script>

    Regarding your second question - the dynamic size of FunnelSeries items is not implemented. You could submit a feature request in the UserVoice portal - http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback. However, you could use the LabelsAppearance inner property of the series to set FontSize: http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/appearance-and-styling/labels-and-titles-font-settings

    Regards,
    Joana
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top