-
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
-
-
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
- 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.
Charts - Polar Chart Zooming and Panning API
To zoom a PolarChart into a specific range on the value axis, specify the PolarChart's visualRange property.
In this demo, this property is bound to the RangeSelector's value. When you move the sliders in the RangeSelector, you change the visualRange and zoom the PolarChart.
Once you set the zoom level, move the selected range left and right to scroll through data.
Was this demo helpful?
Feel free to share demo-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Backend API
@(Html.DevExtreme().PolarChart()
.ID("zoomedChart")
.CommonSeriesSettings(c => c
.ArgumentField("Argument")
.Closed(false)
)
.Series(s => {
s.Add()
.Type(PolarChartSeriesType.Scatter)
.Name("Test results")
.ValueField("Value")
.Point(p => p.Size(8));
s.Add()
.Type(PolarChartSeriesType.Line)
.Name("Expected average")
.ValueField("OriginalValue")
.Point(p => p.Visible(false));
})
.ArgumentAxis(a => a
.StartAngle(90)
.TickInterval(30)
)
.ValueAxis(v => v.
VisualRange(range => range.StartValue(0).EndValue(8))
)
.Export(e => e.Enabled(true))
.Legend(l => l
.HoverMode(ChartLegendHoverMode.ExcludePoints)
.HorizontalAlignment(HorizontalAlignment.Center)
.VerticalAlignment(VerticalEdge.Top)
)
.Title("Stochastic Process")
.DataSource(Model)
)
@(Html.DevExtreme().RangeSelector()
.Size(s => s.Height(100))
.Margin(m => m
.Top(10)
.Left(60)
.Bottom(10)
.Right(50)
)
.Scale(s => s
.StartValue(0)
.EndValue(8)
.MinorTickInterval(0.1)
.TickInterval(1)
.MinorTick(mt => mt.Visible(false))
)
.Behavior(b => b.ValueChangeMode(SliderValueChangeMode.OnHandleMove))
.OnValueChanged(@<text>
function(e) {
var zoomedChart = $("#zoomedChart").dxPolarChart("instance");
zoomedChart.getValueAxis().visualRange(e.value);
}
</text>)
)
using DevExtreme.AspNet.Data;
using DevExtreme.AspNet.Mvc;
using DevExtreme.MVC.Demos.Models.SampleData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Web.Mvc;
namespace DevExtreme.MVC.Demos.Controllers {
public class ChartsController : Controller {
public ActionResult PolarChartZoomingAndScrollingAPI() {
return View(SampleData.GetStochasticProcessResearchData());
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using DevExpress.Data.Utils;
namespace DevExtreme.MVC.Demos.Models.SampleData {
public partial class SampleData {
public static IEnumerable<object> GetStochasticProcessResearchData() {
var random = NonCryptographicRandom.System;
return Enumerable.Range(1, 480).Select(x => {
var argument = 0.75 * x;
var originalValue = x == 0 ? 0 : Math.Log(argument);
return new { Argument = argument, OriginalValue = originalValue, Value = originalValue - (Math.Sin(random.NextDouble() * argument) * x / 480) + (1 - random.NextDouble() * 2) };
});
}
}
}
#zoomedChart {
height: 440px;
width: 100%;
}