HTML Chart Navigator - RangeSelector configuration

3 posts, 0 answers
  1. Marc
    Marc avatar
    2 posts
    Member since:
    Feb 2016

    Posted 04 Mar Link to this post

    I have a chart with about 1500 items and a period from December 2014 to today. if I were in the navigator the range selector move he always jumps by 1 month. this can be set the range of the selector can be moved per day?
    Also me the entire period shown on the left outside of the navigator and the right I can not choose to this day (show Attachment)...

    Can you help me? Thanks

  2. Marc
    Marc avatar
    2 posts
    Member since:
    Feb 2016

    Posted 08 Mar in reply to Marc Link to this post

    As detailed description i have data over many years and cannot the range smaller than a month when i selected in the navigator of a RadHtmlChart with Layout "Stock".

    someone has a solution for this problem? Thanks

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stamo Gochev
    Admin
    Stamo Gochev avatar
    157 posts

    Posted 09 Mar Link to this post

    Hi Marc,

    Can you clarify more on the question about the fact that you cannot select the last (rightmost) day as the screenshot shows the navigator is at March 16th?

    Regarding your question about selection per day - you can have a look at our help article about Date Axis Base Unit Steps and use a value for the MaxDateGroups property that is larger than your total items count (e.g. 2000) and "disable" the base units for both months and years by setting their value to zero, i.e.:
    <telerik:RadHtmlChart runat="server" ID="Chart" Layout="Stock">
        <Navigator>
            <XAxis BaseUnit="Fit" MaxDateGroups="2000">
                <AutoBaseUnitSteps>
                    <Years>
                        <telerik:BaseUnitStep Value="0" />
                    </Years>
                    <Months>
                        <telerik:BaseUnitStep Value="0" />
                    </Months>
                    <Days>
                        <telerik:BaseUnitStep Value="1" />
                    </Days>
                </AutoBaseUnitSteps>
            </XAxis>
        </Navigator>
    </telerik:RadHtmlChart>
    I am attaching a sample page that demonstrates the above idea using random data points, so that you can examine it on your own.

    Regards,
    Stamo Gochev
    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
Back to Top