Pull down to refresh...
Release to refresh...
Refreshing...
-
Data Grids / Data Management
-
Data Grid
- Overview
-
Data Binding
-
Filtering
- Sorting
-
Editing
-
Grouping
-
Selection
- Focused Row
- Paging
-
Scrolling
-
Columns
-
Master-Detail
-
Data Summaries
-
Drag & Drop
-
Export to PDF
-
Export to Excel
- Appearance
-
Customization
- State Persistence
-
Adaptability
-
Keyboard Navigation
- Right-To-Left Support
-
Tree List
- Overview
-
Data Binding
-
Filtering
- Sorting
-
Editing
-
Selection
- Focused Row
- Paging
-
Columns
- Drag & Drop
- State Persistence
- Adaptability
-
Keyboard Navigation
-
Card View
-
Pivot Grid
- Overview
-
Data Binding
-
Field Management
-
Data Summaries
- Drill Down
- Filtering
-
Scrolling
-
Export to Excel
- Chart Integration
- Customization
- State Persistence
-
Filter Builder
-
-
Data Visualization
-
Charts
- Overview
-
Data Binding
-
Common Concepts
-
Axis
-
Aggregation
-
Tooltips
-
Selection
-
Customization
-
Zooming
-
Export
-
-
Area Charts
-
Bar Charts
- Bullet Charts
-
Doughnut Charts
-
Financial Charts
-
Funnel and Pyramid Charts
-
Line Charts
- Pareto Chart
-
Pie Charts
-
Point Charts
-
Polar and Radar Charts
-
Range Charts
- Sankey Chart
-
Sparkline Charts
-
Tree Map
-
Gauges
- Overview
-
Runtime update
-
Bar Gauge
-
Circular Gauge
-
Linear Gauge
-
Diagram
- Overview
-
Data Binding
-
Featured Shapes
-
Custom Shapes
-
Document Capabilities
-
User Interaction
- UI Customization
- Adaptability
-
-
Scheduling / Planning
-
Scheduler
- Overview
-
Data Binding
-
Views
-
Appointments
-
Timetable
- Editing
-
Grouping
- Virtual Scrolling
- Drag & Drop
-
Customization
- Adaptability
-
Gantt
- Overview
- Data Binding
-
Filtering
- Sorting
- Strip Lines
- Export to PDF
- Validation
-
Customization
-
-
Reporting
-
AI-powered Extensions
-
Interaction
-
Report Types
-
Data binding
-
Real-life Reports
-
Layout Features
-
Report Controls
-
Web-specific Features
-
-
Rich Text Editor
- Overview
- Load/Save
- Document Protection
-
Templates
- Autocorrect
-
Customization
- Simple View
-
Spreadsheet
- Overview
-
Open a Document
- Export And Printing
-
Features
-
UI Customization
-
Messaging
-
WYSIWYG Editor
-
Forms
-
Data Editors
- Overview
-
Common Concepts
-
Calendar
- Check Box
- Color Box
- Date Box
-
Date Range Box
-
Number Box
- Radio Group
-
Range Selector
- Range Slider
- Slider
- Speech To Text
- Switch
- Text Area
- Text Box
-
Drop-Downs
- Autocomplete
-
Drop Down Box
-
Select Box
-
Tag Box
-
Lookup
-
Buttons
-
File Upload / File Management
-
File Manager
- Overview
-
File System Types
-
Customization
-
File Uploader
-
-
Popup and Notifications
-
Navigation
- Overview
- Accordion
-
Context Menu
-
Menu
- Multi View
-
Drawer
-
Tab Panel
-
Tabs
-
Toolbar
-
Stepper
- Pagination
-
List
-
Tree View
- Right-to-Left Support
-
Layout
-
Tile View
- Splitter
-
Gallery
- Scroll View
-
-
Interactive Wrappers
-
Sortable
- Resizable
-
-
Progress Indicators
-
Maps
- Overview
-
Map
-
Vector Map
-
Data Binding
- Multiple Layers
-
Markers
- Legend
-
Zooming and Panning
-
Customization
-
-
Localization
Related Demos:
Your search did not match any results.
Loading...
Range Selector - Logarithmic Scale
In this demo, a logarithmic axis is used to select a range within a set of rapidly-growing values.
Backend API
x
<div> @{ var dataSource = new List<object>(); var max = 100; var rnd = new System.Random(0); for (var i = 0; i < max; i++) { dataSource.Add(new { arg = Math.Pow(10, i * 0.1), val = Math.Log(i + 1) / Math.Log(0.5) + (rnd.NextDouble() - 0.5) * (100 / (i + 1)) + 10 }); } } @(Html.DevExtreme().Chart() .ID("zoomed-chart") .DataSource(dataSource) .ArgumentAxis(aa => aa .ValueMarginsEnabled(false) .Type(AxisScaleType.Logarithmic) .Label(l => l.Format(Format.Exponential)) .Grid(g => g.Visible(true)) .MinorGrid(mg => mg.Visible(true)) .MinorTickCount(10) ) .ResizePanesOnZoom(true) .Series(s => s.Add()) .Legend(l => l.Visible(false)) ) @(Html.DevExtreme().RangeSelector() .ID("range-selector") .DataSource(dataSource) .Chart(c => c.Series(s => s.Add())) .Scale(s => s .Type(RangeSelectorAxisScaleType.Logarithmic) .Label(l => l.Format(Format.Exponential)) .MinRange(1) .MinorTickCount(10) ) .SliderMarker(sm => sm.Format(Format.Exponential)) .Behavior(b => b .ValueChangeMode(SliderValueChangeMode.OnHandleMove) .SnapToTicks(false) ) .OnValueChanged("rangeSelector_valueChanged") )</div><script> function rangeSelector_valueChanged(e) { var zoomedChart = $("#zoomed-chart").dxChart("instance"); zoomedChart.getArgumentAxis().visualRange(e.value); }</script>xxxxxxxxxxusing DevExtreme.NETCore.Demos.Models.SampleData;using Microsoft.AspNetCore.Mvc;using System.Linq;namespace DevExtreme.NETCore.Demos.Controllers { public class RangeSelectorController : Controller { public ActionResult LogarithmicScale() { return View(); } }}xxxxxxxxxx#zoomed-chart{ height: 335px; margin: 0 0 15px;}#range-selector { height: 120px;}