- Core Lab
- ActionSheetUpdated
- AI Prompt
- AppBar
- Arc Gauge
- Area Charts
- AutoComplete
- Avatar
- Badge
- Bar Charts
- Barcode
- BottomNavigation
- Box Plot Charts
- Breadcrumb
- Bubble Charts
- Bullet Charts
- Button
- ButtonGroup
- Calendar
- Captcha
- Cards
- ChartUpdated
- Chart API
- Chart Wizard
- Chat
- CheckBox
- CheckBoxGroup
- Chip
- ChipList
- Circular Gauge
- Circular ProgressBar
- ColorGradient
- ColorPalette
- ColorPicker
- ComboBox
- DataSource
- DateInput
- DatePicker
- DateRangePicker
- DateTimePicker
- Diagram
- Dialog
- DockManager
- Donut Charts
- Drag and Drop
- Drawer
- DrillDown Charts
- DropDownButton
- DropDownList
- DropDownTree
- EditorUpdated
- Expansion Panel
- FileManagerUpdated
- Filter
- FlatColorPicker
- FloatingActionButton
- FormUpdated
- Funnel Charts
- Gantt
- GridUpdated
- Overview
- Basic Usage
- TagHelper
- Data Binding
- Exporting
- Data Editing
- Scrolling
- Filtering
- Functionality
- Group Paging of Remote Data
- ToolBar ToolsNew
- Server Grouping with Virtualization
- Sorting
- Search Panel
- Selection
- Selection Aggregates
- Checkbox Selection
- Aggregates
- Paging
- Pager Functionality
- Hierarchy
- State Persistence
- Responsive Columns
- Hidden Grouped Columns
- Drag and Drop
- Sizing
- Context Menu
- Row & Column Spanning
- Row Resizing
- Paste from Excel
- Chart Integration
- Templates
- Columns
- API
- Accessibility and Internationalization
- GridLayout
- HeatMap
- ImageEditorUpdated
- Line Charts
- Linear Gauge
- ListBox
- ListView
- Loader
- Map
- MaskedTextBox
- MediaPlayer
- MenuUpdated
- MultiColumnComboBox
- MultiSelect
- MultiViewCalendar
- Notification
- NumericTextBox
- OrgChart
- OTP Input
- PagerUpdated
- PanelBar
- PDF Export
- PdfProcessing
- PDFViewerUpdated
- Pie Charts
- PivotGrid
- PivotGridV2
- Polar Charts
- Popover
- ProgressBar
- PropertyGridUpdated
- Pyramid Charts
- QRCode
- Radar Charts
- Radial Gauge
- RadioButton
- RadioGroup
- Range Area Charts
- Range Bar Charts
- Rating
- Responsive Panel
- Ripple Container
- Sankey Diagram
- Scatter Charts
- Scheduler
- Overview
- Basic Usage
- Adaptive Rendering
- TagHelper
- Functionality
- Adaptive Slot Height
- Auto Event Height
- Year View
- Timeline View
- Timeline Overnight View
- Custom Toolbar
- Event Selection
- Import and Export to iCal
- PDF Export
- Search Events
- Resources
- Horizontal Grouping
- Vertical Grouping
- Virtual Vertical Grouping
- Hierarchical Grouping
- Date Grouping
- Templates
- Restrictions
- Moving and Resizing
- Changing Work Days
- Highlight Ongoing Events
- Data Binding
- API
- Accessibility and Internationalization
- ScrollView
- Signature
- Skeleton Container
- Slider
- Sortable
- Sparklines
- SplitButton
- Splitter
- SpreadProcessing
- Spreadsheet
- SpreadStreamProcessing
- StackLayout
- Stepper
- Stock Charts
- Switch
- TabStrip
- TaskBoardUpdated
- Template
- TextArea
- TextBox
- TileLayout
- TimeDurationPicker
- Timeline
- TimePicker
- ToggleButton
- ToolBar
- Tooltip
- TreeList
- Basic Usage
- TagHelper
- Remote Data Binding
- OData-v4 Binding
- Checkbox Selection
- Drag and Drop
- Editing
- Filter Row
- InCell Editing
- Popup Editing
- Search Panel
- Column Resizing
- Column Reordering
- Column Menu
- Multi-Column Headers
- Frozen Columns
- Aggregates
- State Persistence
- Excel Export
- PDF Export
- Events
- API
- Row Template
- Toolbar Template
- Keyboard Navigation
- Client-Side Paging
- TreeMap
- TreeView
- UploadUpdated
- Validator
- Waterfall Charts
- Window
- Wizard
- WordsProcessing
- Zip Library
New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Sparklines Local Data Binding
- EXAMPLE
- VIEW SOURCE
- Change ThemedefaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Material 2
- Material 2 Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API HTML HELPER API TAG HELPER APIDescription
TheTelerik UI for ASP.NET Core chart can be instructed to display data from local data storage using its built-in data-binding capabilities.
There are two ways to bind the chart:
- Server - the chart will bind to a supplied model
- Ajax - the chart will perform Ajax requests to populate its series
In this example you can see how to bind the chart using the server approach. You need to create an action method and pass the CompensationData list located in the \Models\Chart\ChartDataRepository.cs file as a model. After that you should configure the data bound fields for the Series, i.e..ValueAxis(axis => axis.Numeric().Max(50))
. Note that the view has to be strongly typed so that the chart is able to load its data.