Skip to content

Commit 1e0dff7

Browse files
Use MDX Badge component for status labels (#210)
* Use MDX Badge component for status labels * Add Badge component for Open Source and Premium labels in documentation * feat(*): updating to 0.0.14 --------- Co-authored-by: Stamen Stoychev <sstoychev@infragistics.com>
1 parent eca6ec6 commit 1e0dff7

44 files changed

Lines changed: 282 additions & 297 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"dependencies": {
3838
"astro": "^6.1.6",
3939
"docs-template": "file:../../",
40-
"igniteui-astro-components": "0.0.13",
40+
"igniteui-astro-components": "0.0.14",
4141
"sharp": "^0.34.2"
4242
},
4343
"devDependencies": {

docs/angular/src/content/en/components/charts/features/chart-axis-types.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ The `CategoryYAxis` works very similarly to the `CategoryXAxis` described above,
5050

5151
The `NumericXAxis` treats its data as continuously varying numerical data items. Labels on this axis are placed horizontally along the X-Axis. The location of the `NumericXAxis` labels depends on the `XMemberPath` property of the various [Scatter Series](../types/scatter-chart.md) that it supports if combined with a `NumericYAxis`. Alternatively, if combined with the `CategoryXAxis`, these labels will be placed corresponding to the `ValueMemberPath` of the `BarSeries`, `StackedBarSeries`, and `Stacked100BarSeries`.
5252

53-
5453
The `NumericXAxis` is compatible with the following type of series:
5554

5655
- `BarSeries`

docs/angular/src/content/en/components/charts/features/chart-data-annotations.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ namespace: Infragistics.Controls.Charts
88
---
99
import DocsAside from 'igniteui-astro-components/components/mdx/DocsAside.astro';
1010
import Sample from 'igniteui-astro-components/components/mdx/Sample.astro';
11+
import Badge from 'igniteui-astro-components/components/mdx/Badge.astro';
1112

1213

13-
# Angular Chart Data Annotations <label>PREVIEW</label>
14+
# Angular Chart Data Annotations <Badge variant="preview" />
1415

1516
In the Angular chart, the data annotation layers allow you to annotate data plotted in Data Chart with sloped lines, vertical/horizontal lines (aka axis slices), vertical/horizontal strips (targeting specific axis), rectangles, and even parallelograms (aka bands). With data-binding supported, you can create as many annotations as you want to customize your charts. Also, you can combine different annotation layers and you can overlay text inside of plot area to annotated important events, patterns, and regions in your data.
1617

docs/angular/src/content/en/components/charts/features/chart-markers.mdx

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Angular Chart Markers | Data Visualization | Infragistics
33
_description: Infragistics' Angular Chart Markers
4-
_keywords: Angular Charts, Markers, Marker Size, Infragistics
4+
_keywords: Angular Charts, Markers, Infragistics
55
_license: commercial
6-
mentionedTypes: ["CategoryChart", "CategoryChartType", "MarkerType", "MarkerSeries", "ScatterLineSeries", "ScatterSplineSeries", "ScatterSeries", "LineSeries", "SplineSeries", "MarkerAutomaticBehavior", "SeriesViewer"]
6+
77
namespace: Infragistics.Controls.Charts
88
---
99
import Sample from 'igniteui-astro-components/components/mdx/Sample.astro';
@@ -24,48 +24,6 @@ The colors of the markers are also managed by setting the <ApiLink pkg="charts"
2424
<Sample src="/charts/category-chart/marker-options" height={500} alt="Angular Configuration Options Example" />
2525

2626

27-
<div class="divider--half"></div>
28-
29-
## Angular Chart Marker Size
30-
31-
You can control the exact device-independent pixel dimensions of data point markers by setting the `MarkerSize` property on any series that supports markers. This gives you precise control over how large markers appear on screen, regardless of the marker template or style being used.
32-
33-
By default, marker sizing is determined by the series marker template. When you set `MarkerSize` to a specific numeric value, all markers in that series render at that exact device-independent pixel width and height. Setting `MarkerSize` back to `NaN` restores the default template-driven sizing.
34-
35-
The `MarkerSize` property is available on all series types that derive from `MarkerSeries`, including `LineSeries`, `SplineSeries`, `AreaSeries`, `ColumnSeries`, `ScatterSeries`, `ScatterLineSeries`, `ScatterSplineSeries`, and polar/radial series types.
36-
37-
The following code examples show how to set `MarkerSize` to 30 device-independent pixels on a `ScatterLineSeries` in the `XamDataChart` control:
38-
39-
40-
41-
42-
43-
44-
45-
To reset markers to their default template-driven size, set `MarkerSize` to `NaN` (or remove the attribute in markup):
46-
47-
48-
49-
50-
51-
The following sample demonstrates `MarkerSize` on scatter series with an interactive editor:
52-
53-
<Sample src="/charts/data-chart/scatter-marker-options" height={500} alt="Angular Chart Marker Size Example" />
54-
55-
<DocsAside type="note">
56-
For `BubbleSeries`, the `MarkerSize` property does not override the bubble radius, which is controlled by the radius data column and the `RadiusScale`. Bubble sizes remain entirely driven by the data and scale configuration.
57-
</DocsAside>
58-
59-
<div class="divider--half"></div>
60-
61-
## Angular Chart Checkmark Marker Type
62-
63-
The Ignite UI for Angular charts include a `Checkmark` option in the `MarkerType` enum. This marker renders a V-shaped checkmark icon inside a circle on data points in your chart.
64-
65-
You can apply the `Checkmark` marker type to an individual series by setting its `MarkerType` property to `MarkerType.Checkmark`. To use the checkmark shape for all series in the chart simultaneously, set the chart's `MarkerAutomaticBehavior` property to `MarkerAutomaticBehavior.Checkmark`.
66-
67-
The `SeriesViewer.CheckmarkMarkerTemplate` property defines the marker template used for series with a checkmark marker type, and can be used to customize its appearance across the chart.
68-
6927
<div class="divider--half"></div>
7028

7129
## Angular Chart Marker Templates

docs/angular/src/content/en/components/charts/features/chart-overlays.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace: Infragistics.Controls.Charts
88
---
99
import Sample from 'igniteui-astro-components/components/mdx/Sample.astro';
1010
import ApiLink from 'igniteui-astro-components/components/mdx/ApiLink.astro';
11+
import Badge from 'igniteui-astro-components/components/mdx/Badge.astro';
1112

1213

1314
# Angular Chart Overlays
@@ -65,7 +66,7 @@ The following sample demonstrates usage of the different <ApiLink pkg="charts" t
6566

6667
You can also plot built-in financial overlays and indicators in Angular [Stock Chart](../types/stock-chart.md).
6768

68-
## Chart Overlay Text <label>PREVIEW</label>
69+
## Chart Overlay Text <Badge variant="preview" />
6970

7071
The Angular <ApiLink pkg="charts" type="ValueOverlay" />, <ApiLink pkg="charts" type="ValueLayer" />, and all Data Annotation Layers can render custom overlay text inside plot area of the DataChart component. You can use this overlay text to annotate important events (e.g. company quarter reports) on x-axis or important values on y-axis in relationship to the layers.
7172

docs/angular/src/content/en/components/charts/features/chart-user-annotations.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ import ApiLink from 'igniteui-astro-components/components/mdx/ApiLink.astro';
1212
import { Image } from 'astro:assets';
1313
import dataChartUserAnnotationCreate from '@xplat-images/charts/data-chart-user-annotation-create.gif';
1414
import dataChartUserAnnotationDelete from '@xplat-images/charts/data-chart-user-annotation-delete.gif';
15+
import Badge from 'igniteui-astro-components/components/mdx/Badge.astro';
1516

1617

17-
# Angular Chart User Annotation Layer <label>PREVIEW</label>
18+
# Angular Chart User Annotation Layer <Badge variant="preview" />
1819

1920
In Ignite UI for Angular, you can annotate the <ApiLink pkg="charts" type="DataChart" /> with slice, strip, and point annotations at runtime using the user annotations feature. This allows the end user to add more details to the plot such as calling out single important events such as company quarter reports by using the slice annotation or events that have a duration by using the strip annotation. You can also call out individual points on the plotted series by using the point annotation or any combination of these three.
2021

docs/angular/src/content/en/components/dashboard-tile.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ import Sample from 'igniteui-astro-components/components/mdx/Sample.astro';
1010
import ApiLink from 'igniteui-astro-components/components/mdx/ApiLink.astro';
1111
import { Image } from 'astro:assets';
1212
import dashboardTileToolbar from '@xplat-images/dashboard-tile-toolbar.png';
13+
import Badge from 'igniteui-astro-components/components/mdx/Badge.astro';
1314

1415

15-
# Angular Dashboard Tile <label>PREVIEW</label>
16+
# Angular Dashboard Tile <Badge variant="preview" />
1617

1718
The Angular Dashboard Tile is a automatic data visualization component which determines via analysis of a DataSource collection/array or single data point what would be the most appropriate visualization to display. It then also provides a further suite of tools in its embedded <ApiLink pkg="layouts" type="Toolbar" /> that let you alter the visualization that is presented in a variety of ways.
1819

0 commit comments

Comments
 (0)