@praxisui/charts 9.0.0-beta.71 → 9.0.0-beta.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -1
- package/ai/component-registry.json +314 -76
- package/fesm2022/praxisui-charts.mjs +2581 -2515
- package/package.json +3 -3
- package/types/praxisui-charts.d.ts +12 -32
package/README.md
CHANGED
|
@@ -40,6 +40,26 @@ export const appConfig: ApplicationConfig = {
|
|
|
40
40
|
};
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
`providePraxisCharts()` installs Apache ECharts as the default renderer through the Praxis engine factory boundary. Each
|
|
44
|
+
`<praxis-chart>` receives its own stateful engine instance. Hosts that need a custom renderer can keep the same public
|
|
45
|
+
registration path and replace only the factory:
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
import { ApplicationConfig } from '@angular/core';
|
|
49
|
+
import {
|
|
50
|
+
providePraxisCharts,
|
|
51
|
+
type PraxisChartEngineAdapter,
|
|
52
|
+
} from '@praxisui/charts';
|
|
53
|
+
|
|
54
|
+
export const appConfig: ApplicationConfig = {
|
|
55
|
+
providers: [
|
|
56
|
+
providePraxisCharts({
|
|
57
|
+
engineFactory: (): PraxisChartEngineAdapter => new CustomChartEngineAdapter(),
|
|
58
|
+
}),
|
|
59
|
+
],
|
|
60
|
+
};
|
|
61
|
+
```
|
|
62
|
+
|
|
43
63
|
## Standalone Chart
|
|
44
64
|
|
|
45
65
|
```ts
|
|
@@ -164,7 +184,7 @@ Rich charts still use the canonical `x-ui.chart` document flow above; micro visu
|
|
|
164
184
|
|
|
165
185
|
## Public API Snapshot
|
|
166
186
|
|
|
167
|
-
Main exports include `PraxisChartComponent`, `PraxisMicroVisualizationComponent`, `PraxisChartConfigEditor`, chart event/config models, `PraxisXUiChartContract`, engine adapter tokens, `providePraxisCharts`, canonical mapping/normalization/validation services, analytics chart services, chart metadata and `PRAXIS_CHARTS_AUTHORING_MANIFEST`.
|
|
187
|
+
Main exports include `PraxisChartComponent`, `PraxisMicroVisualizationComponent`, `PraxisChartConfigEditor`, chart event/config models, `PraxisXUiChartContract`, engine adapter and factory tokens, `providePraxisCharts`, canonical mapping/normalization/validation services, analytics chart services, chart metadata and `PRAXIS_CHARTS_AUTHORING_MANIFEST`.
|
|
168
188
|
|
|
169
189
|
## Official Links
|
|
170
190
|
|