From 9d1bcdc9bfb03046b4b7257e64a1b8ddb263fb38 Mon Sep 17 00:00:00 2001 From: Tsvetomir Hristov <106250052+Tsvetomir-Hr@users.noreply.github.com> Date: Mon, 4 Aug 2025 14:58:26 +0300 Subject: [PATCH] chore: replace example with live example url --- components/chart/overview.md | 54 ++---------------------------------- 1 file changed, 3 insertions(+), 51 deletions(-) diff --git a/components/chart/overview.md b/components/chart/overview.md index 90a49ef7d..15e8ce8a3 100644 --- a/components/chart/overview.md +++ b/components/chart/overview.md @@ -24,50 +24,8 @@ The caption Basic chart -````RAZOR - - - - - - - - - - - - - - - - - - - - - - - -@code { - public class MyDataModel - { - public int SecondSeriesValue { get; set; } - public string ExtraData { get; set; } - } - - public List modelData = new List() - { - new MyDataModel() { SecondSeriesValue = 1, ExtraData = "first" }, - new MyDataModel() { SecondSeriesValue = 5, ExtraData = "second" }, - new MyDataModel() { SecondSeriesValue = 3, ExtraData = "third" }, - new MyDataModel() { SecondSeriesValue = 2, ExtraData = "fourth" }, - }; - public List simpleData = new List() { 10, 2, 7, 5 }; - - public string[] xAxisItems = new string[] { "Q1", "Q2", "Q3", "Q4" }; -} -```` + ## Chart Elements @@ -252,16 +210,10 @@ To execute Chart methods, obtain reference to the component instance via `@ref`. | `Refresh` | Use the method to programmatically re-render the Chart. | | `ResetDrilldownLevel` | Use the method to programmatically reset the drilldown level of the Chart. For more information refer to the [DrillDown article](slug:chart-drilldown#reset-drilldown-level). | -
- -````RAZOR -Refresh Chart - - +````RAZOR.skip-repl + @code { - public TelerikChart ChartRef; - private void RefreshChart() { ChartRef.Refresh();