Chart - Getting Started: Add ASP.NET Core Snippets (#8984)#8988
Open
arman-boyakhchyan wants to merge 1 commit into
Open
Chart - Getting Started: Add ASP.NET Core Snippets (#8984)#8988arman-boyakhchyan wants to merge 1 commit into
arman-boyakhchyan wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR extends the “Getting Started with Chart” guide by adding ASP.NET Core Controls snippets alongside existing jQuery/Angular/Vue/React examples, so readers can follow the same tutorial steps using DevExtreme ASP.NET Core wrappers.
Changes:
- Adds ASP.NET Core snippets for creating a Chart and binding it to server-provided data.
- Adds ASP.NET Core configuration examples for series, multiple series, tooltips, gradient backgrounds, and constant lines.
- Adjusts the “Specify Multiple Series” page structure to include additional framework headings/text (currently introduces duplication/formatting issues).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| concepts/05 UI Components/Chart/00 Getting Started with Chart/05 Create a Chart.md | Adds an ASP.NET Core snippet and link to ASP.NET Core getting started docs. |
| concepts/05 UI Components/Chart/00 Getting Started with Chart/10 Display Chart Data.md | Adds ASP.NET Core MVC data loading example (controller + model snippets). |
| concepts/05 UI Components/Chart/00 Getting Started with Chart/15 Configure Chart Series.md | Adds ASP.NET Core series configuration example. |
| concepts/05 UI Components/Chart/00 Getting Started with Chart/20 Specify Multiple Series.md | Adds ASP.NET Core multi-series snippet; introduces duplicated headings / separators at the top. |
| concepts/05 UI Components/Chart/00 Getting Started with Chart/25 Add and Customize Tooltips.md | Adds ASP.NET Core tooltip customization; embeds a server number into JS in a locale-sensitive way. |
| concepts/05 UI Components/Chart/00 Getting Started with Chart/30 Specify a Custom Gradient Background.md | Adds ASP.NET Core gradient background snippet with registerGradient + FillId(new JS(...)). |
| concepts/05 UI Components/Chart/00 Getting Started with Chart/35 Add a Constant Line.md | Adds ASP.NET Core constant line configuration snippet. |
Comment on lines
+20
to
+24
| --- | ||
|
|
||
| --- | ||
|
|
||
| ##### jQuery |
Comment on lines
+58
to
+63
| const isValueAboveAverage = data.value > @(ChartData.AverageSpend); | ||
| if (isValueAboveAverage) { | ||
| return { text: `${formatNumber(data.value, 'currency')}\n${formatNumber(data.value - @(ChartData.AverageSpend), 'currency')} above average spending.` }; | ||
| } | ||
|
|
||
| return { text: `${formatNumber(data.value, 'currency')}\n${formatNumber(@(ChartData.AverageSpend) - data.value, 'currency')} below average spending.` }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.