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

HTML Chart Navigator - RangeSelector configuration

2 Answers 139 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 04 Mar 2016, 10:43 AM

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 Answers, 1 is accepted

Sort by
0
Marc
Top achievements
Rank 1
answered on 08 Mar 2016, 07:21 AM

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

0
Stamo Gochev
Telerik team
answered on 09 Mar 2016, 09:29 AM
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
Tags
Chart (HTML5)
Asked by
Marc
Top achievements
Rank 1
Answers by
Marc
Top achievements
Rank 1
Stamo Gochev
Telerik team
Share this question
or