Skip to content

Commit 40a57ca

Browse files
ivanvpetrovCopilotkdinev
authored
fix(skills): removed misleading listing of bar as category chart type (#17261)
* fix(skills): removed missleading listing of bar as category chart type * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update skills/igniteui-angular-components/references/charts.md --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Konstantin Dinev <kdinev@infragistics.com>
1 parent 7d27497 commit 40a57ca

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • skills/igniteui-angular-components/references

skills/igniteui-angular-components/references/charts.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ This reference gives high-level guidance on when to use each chart type, their k
2727
2828
| Component | NgModule to import | Description |
2929
|---|---|---|
30-
| `IgxCategoryChartComponent` | `IgxCategoryChartModule` | Simplified API for area, bar, column charts |
30+
| `IgxCategoryChartComponent` | `IgxCategoryChartModule` | Simplified API for column, line, area, spline, StepLine/StepArea, point, waterfall |
3131
| `IgxFinancialChartComponent` | `IgxFinancialChartModule` | Stock/candlestick charts with OHLC data |
3232
| `IgxDataChartComponent` | `IgxDataChartModule` | Advanced: explicit axes, series, >65 chart types |
3333
| `IgxPieChartComponent` | `IgxPieChartModule` | Part-to-whole pie and donut charts |
3434
| `IgxDataPieChartComponent` | `IgxDataPieChartModule` | Simplified API for pie charts |
3535
| `IgxLegendComponent` | `IgxLegendModule` | Shared legend component |
3636

3737
### When to use each:
38-
- **Category Chart** → Use for simple area/bar/column; let framework auto-configure
38+
- **Category Chart** → Use for simple line/area/column/point/spline/step/waterfall; let framework auto-configure
3939
- **Financial Chart** → Use for stock data with time-series OHLC, indicators, volume
4040
- **Data Chart** → Use for advanced scenarios: multiple axes, custom series combinations, stacked/scatter
4141
- **Pie Chart** → Use for part-to-whole (segments sum to 100%)
@@ -173,7 +173,7 @@ chartComponent.itemsSource = dataArray;
173173
- Start Y-axis at 0
174174
- Order time-series left to right
175175
- **Avoid**: Many series (>10) side-by-side (readability)
176-
- **Related**: Bar Chart (same but horizontal), Waterfall (show differences between values)
176+
- **Related**: Bar Chart (horizontal equivalent, use `IgxDataChartComponent` + `IgxBarSeriesComponent`), Waterfall (show differences between values)
177177

178178
### Stock Chart (`IgxFinancialChartComponent`)
179179
- **Use**: Financial/OHLC data analysis, candlestick visualization, technical indicators
@@ -231,7 +231,7 @@ chartComponent.itemsSource = dataArray;
231231

232232
## Common API Members by Chart Type
233233

234-
### IgxCategoryChartComponent (Area, Bar, Column, Line, etc.)
234+
### IgxCategoryChartComponent (Area, Column, Line, Point, Spline, StepLine, StepArea, Waterfall)
235235
```typescript
236236
// Required
237237
dataSource: any[]; // Data array (auto-detects numeric fields)
@@ -427,7 +427,7 @@ import { IgxCategoryChartModule } from 'igniteui-angular-charts';
427427

428428
## Data Requirements
429429

430-
### Category Chart (Area, Bar, Column, Line)
430+
### Category Chart (Area, Column, Line, Point, Spline, StepLine, StepArea, Waterfall)
431431
- Array or list of data items
432432
- At least 1 numeric column (values)
433433
- Optionally 1 string/date column (labels)

0 commit comments

Comments
 (0)