Skip to content

Commit b619cb3

Browse files
committed
Update chart documentation and enhance DoughnutChartDataset
Updated documentation for BarChart, DoughnutChart, LineChart, PieChart, PolarAreaChart, RadarChart, and ScatterChart to replace specific options sections with "ChartData Properties" and "DatasetDataLabels Properties." Removed "Options Properties" sections and re-added them at the end of each file. Enhanced the `DoughnutChartDataset` class by adding and modifying several properties, including versioning attributes, default values, and descriptions for properties such as `BackgroundColor`, `BorderAlign`, `BorderColor`, and others, improving clarity and documentation quality. NOTE: This commit message is auto-generated using GitHub Copilot.
1 parent 2871c72 commit b619cb3

8 files changed

Lines changed: 199 additions & 89 deletions

File tree

BlazorExpress.ChartJS.Demo.RCL/Pages/Docs/BarChart/BarChart_Doc_01_Documentation.razor

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<DocxTable TItem="BarChart" DocType="DocType.Methods" />
2222
</Section>
2323

24-
<Section Class="p-0" Size="HeadingSize.H4" Name="BarChartOptions Properties" PageUrl="@pageUrl" Link="barchart-options-properties">
25-
<DocxTable TItem="BarChartOptions" DocType="DocType.Properties" />
24+
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
25+
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
2626
</Section>
2727

2828
<Section Class="p-0" Size="HeadingSize.H4" Name="BarChartDataset Properties" PageUrl="@pageUrl" Link="barchart-dataset-properties">
@@ -33,8 +33,12 @@
3333
<DocxTable TItem="BarChartDatasetData" DocType="DocType.Properties" />
3434
</Section>
3535

36-
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
37-
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
36+
<Section Class="p-0" Size="HeadingSize.H4" Name="BarChartDatasetDataLabels Properties" PageUrl="@pageUrl" Link="barchart-dataset-data-labels-properties">
37+
<DocxTable TItem="BarChartDatasetDataLabels" DocType="DocType.Properties" />
38+
</Section>
39+
40+
<Section Class="p-0" Size="HeadingSize.H4" Name="BarChartOptions Properties" PageUrl="@pageUrl" Link="barchart-options-properties">
41+
<DocxTable TItem="BarChartOptions" DocType="DocType.Properties" />
3842
</Section>
3943

4044
@code {

BlazorExpress.ChartJS.Demo.RCL/Pages/Docs/DoughnutChart/DoughnutChart_Doc_01_Documentation.razor

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<DocxTable TItem="DoughnutChart" DocType="DocType.Methods" />
2222
</Section>
2323

24-
<Section Class="p-0" Size="HeadingSize.H4" Name="DoughnutChartOptions Properties" PageUrl="@pageUrl" Link="doughnutchart-options-properties">
25-
<DocxTable TItem="DoughnutChartOptions" DocType="DocType.Properties" />
24+
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
25+
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
2626
</Section>
2727

2828
<Section Class="p-0" Size="HeadingSize.H4" Name="DoughnutChartDataset Properties" PageUrl="@pageUrl" Link="doughnutchart-dataset-properties">
@@ -33,8 +33,12 @@
3333
<DocxTable TItem="DoughnutChartDatasetData" DocType="DocType.Properties" />
3434
</Section>
3535

36-
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
37-
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
36+
<Section Class="p-0" Size="HeadingSize.H4" Name="DoughnutChartDatasetDataLabels Properties" PageUrl="@pageUrl" Link="doughnutchart-dataset-data-labels-properties">
37+
<DocxTable TItem="DoughnutChartDatasetDataLabels" DocType="DocType.Properties" />
38+
</Section>
39+
40+
<Section Class="p-0" Size="HeadingSize.H4" Name="DoughnutChartOptions Properties" PageUrl="@pageUrl" Link="doughnutchart-options-properties">
41+
<DocxTable TItem="DoughnutChartOptions" DocType="DocType.Properties" />
3842
</Section>
3943

4044
@code {

BlazorExpress.ChartJS.Demo.RCL/Pages/Docs/LineChart/LineChart_Doc_01_Documentation.razor

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<DocxTable TItem="LineChart" DocType="DocType.Methods" />
2222
</Section>
2323

24-
<Section Class="p-0" Size="HeadingSize.H4" Name="LineChartOptions Properties" PageUrl="@pageUrl" Link="linechart-options-properties">
25-
<DocxTable TItem="LineChartOptions" DocType="DocType.Properties" />
24+
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
25+
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
2626
</Section>
2727

2828
<Section Class="p-0" Size="HeadingSize.H4" Name="LineChartDataset Properties" PageUrl="@pageUrl" Link="linechart-dataset-properties">
@@ -33,8 +33,12 @@
3333
<DocxTable TItem="LineChartDatasetData" DocType="DocType.Properties" />
3434
</Section>
3535

36-
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
37-
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
36+
<Section Class="p-0" Size="HeadingSize.H4" Name="LineChartDatasetDataLabels Properties" PageUrl="@pageUrl" Link="linechart-dataset-data-labels-properties">
37+
<DocxTable TItem="LineChartDatasetDataLabels" DocType="DocType.Properties" />
38+
</Section>
39+
40+
<Section Class="p-0" Size="HeadingSize.H4" Name="LineChartOptions Properties" PageUrl="@pageUrl" Link="linechart-options-properties">
41+
<DocxTable TItem="LineChartOptions" DocType="DocType.Properties" />
3842
</Section>
3943

4044
@code {

BlazorExpress.ChartJS.Demo.RCL/Pages/Docs/PieChart/PieChart_Doc_01_Documentation.razor

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<DocxTable TItem="PieChart" DocType="DocType.Methods" />
2222
</Section>
2323

24-
<Section Class="p-0" Size="HeadingSize.H4" Name="PieChartOptions Properties" PageUrl="@pageUrl" Link="piechart-options-properties">
25-
<DocxTable TItem="PieChartOptions" DocType="DocType.Properties" />
24+
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
25+
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
2626
</Section>
2727

2828
<Section Class="p-0" Size="HeadingSize.H4" Name="PieChartDataset Properties" PageUrl="@pageUrl" Link="piechart-dataset-properties">
@@ -33,8 +33,12 @@
3333
<DocxTable TItem="PieChartDatasetData" DocType="DocType.Properties" />
3434
</Section>
3535

36-
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
37-
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
36+
<Section Class="p-0" Size="HeadingSize.H4" Name="PieChartDatasetDataLabels Properties" PageUrl="@pageUrl" Link="piechart-dataset-data-labels-properties">
37+
<DocxTable TItem="PieChartDatasetDataLabels" DocType="DocType.Properties" />
38+
</Section>
39+
40+
<Section Class="p-0" Size="HeadingSize.H4" Name="PieChartOptions Properties" PageUrl="@pageUrl" Link="piechart-options-properties">
41+
<DocxTable TItem="PieChartOptions" DocType="DocType.Properties" />
3842
</Section>
3943

4044
@code {

BlazorExpress.ChartJS.Demo.RCL/Pages/Docs/PolarAreaChart/PolarAreaChart_Doc_01_Documentation.razor

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<DocxTable TItem="PolarAreaChart" DocType="DocType.Methods" />
2222
</Section>
2323

24-
<Section Class="p-0" Size="HeadingSize.H4" Name="PolarAreaChartOptions Properties" PageUrl="@pageUrl" Link="polarareachart-options-properties">
25-
<DocxTable TItem="PolarAreaChartOptions" DocType="DocType.Properties" />
24+
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
25+
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
2626
</Section>
2727

2828
<Section Class="p-0" Size="HeadingSize.H4" Name="PolarAreaChartDataset Properties" PageUrl="@pageUrl" Link="polarareachart-dataset-properties">
@@ -33,8 +33,12 @@
3333
<DocxTable TItem="PolarAreaChartDatasetData" DocType="DocType.Properties" />
3434
</Section>
3535

36-
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
37-
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
36+
<Section Class="p-0" Size="HeadingSize.H4" Name="PolarAreaChartDatasetDataLabels Properties" PageUrl="@pageUrl" Link="polarareachart-dataset-data-labels-properties">
37+
<DocxTable TItem="PolarAreaChartDatasetDataLabels" DocType="DocType.Properties" />
38+
</Section>
39+
40+
<Section Class="p-0" Size="HeadingSize.H4" Name="PolarAreaChartOptions Properties" PageUrl="@pageUrl" Link="polarareachart-options-properties">
41+
<DocxTable TItem="PolarAreaChartOptions" DocType="DocType.Properties" />
3842
</Section>
3943

4044
@code {

BlazorExpress.ChartJS.Demo.RCL/Pages/Docs/RadarChart/RadarChart_Doc_01_Documentation.razor

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<DocxTable TItem="RadarChart" DocType="DocType.Methods" />
2222
</Section>
2323

24-
<Section Class="p-0" Size="HeadingSize.H4" Name="RadarChartOptions Properties" PageUrl="@pageUrl" Link="radarchart-options-properties">
25-
<DocxTable TItem="RadarChartOptions" DocType="DocType.Properties" />
24+
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
25+
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
2626
</Section>
2727

2828
<Section Class="p-0" Size="HeadingSize.H4" Name="RadarChartDataset Properties" PageUrl="@pageUrl" Link="radarchart-dataset-properties">
@@ -33,8 +33,12 @@
3333
<DocxTable TItem="RadarChartDatasetData" DocType="DocType.Properties" />
3434
</Section>
3535

36-
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
37-
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
36+
<Section Class="p-0" Size="HeadingSize.H4" Name="RadarChartDatasetDataLabels Properties" PageUrl="@pageUrl" Link="radarchart-dataset-data-labels-properties">
37+
<DocxTable TItem="RadarChartDatasetDataLabels" DocType="DocType.Properties" />
38+
</Section>
39+
40+
<Section Class="p-0" Size="HeadingSize.H4" Name="RadarChartOptions Properties" PageUrl="@pageUrl" Link="radarchart-options-properties">
41+
<DocxTable TItem="RadarChartOptions" DocType="DocType.Properties" />
3842
</Section>
3943

4044
@code {

BlazorExpress.ChartJS.Demo.RCL/Pages/Docs/ScatterChart/ScatterChart_Doc_01_Documentation.razor

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<DocxTable TItem="ScatterChart" DocType="DocType.Methods" />
2222
</Section>
2323

24-
<Section Class="p-0" Size="HeadingSize.H4" Name="ScatterChartOptions Properties" PageUrl="@pageUrl" Link="scatterchart-options-properties">
25-
<DocxTable TItem="ScatterChartOptions" DocType="DocType.Properties" />
24+
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
25+
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
2626
</Section>
2727

2828
<Section Class="p-0" Size="HeadingSize.H4" Name="ScatterChartDataset Properties" PageUrl="@pageUrl" Link="scatterchart-dataset-properties">
@@ -33,8 +33,12 @@
3333
<DocxTable TItem="ScatterChartDatasetData" DocType="DocType.Properties" />
3434
</Section>
3535

36-
<Section Class="p-0" Size="HeadingSize.H4" Name="ChartData Properties" PageUrl="@pageUrl" Link="chart-data-properties">
37-
<DocxTable TItem="ChartData" DocType="DocType.Properties" />
36+
<Section Class="p-0" Size="HeadingSize.H4" Name="ScatterChartDatasetDataLabels Properties" PageUrl="@pageUrl" Link="scatterchart-dataset-data-labels-properties">
37+
<DocxTable TItem="ScatterChartDatasetDataLabels" DocType="DocType.Properties" />
38+
</Section>
39+
40+
<Section Class="p-0" Size="HeadingSize.H4" Name="ScatterChartOptions Properties" PageUrl="@pageUrl" Link="scatterchart-options-properties">
41+
<DocxTable TItem="ScatterChartOptions" DocType="DocType.Properties" />
3842
</Section>
3943

4044
@code {

0 commit comments

Comments
 (0)