@echelon-framework/charts-echarts
v0.7.1
Published
ECharts-based ChartAdapter implementation for Echelon.
Maintainers
Readme
@echelon-framework/charts-echarts
Apache ECharts adapter for Echelon charts. Default chart renderer for the framework.
Part of the Echelon Framework — Angular-based, config-driven dashboard & low-code platform.
Installation
npm install @echelon-framework/charts-echarts echartsUsage
import { EChartsAdapter } from '@echelon-framework/charts-echarts';
import type { ChartConfig } from '@echelon-framework/charts-core';
// Register in provideEchelon
provideEchelon({
charts: { adapter: EChartsAdapter },
widgets: [...],
});Supported chart types
| Type | ECharts series | Description | | ----------- | ---------------- | ----------------------- | | line | line | Time series, trends | | bar | bar | Comparisons, categories | | pie | pie | Proportions | | scatter | scatter | Correlations | | candlestick | candlestick | Financial OHLC | | area | line (areaStyle) | Filled time series |
Widget usage
.widget('chart', { x: 0, y: 0, w: 12, h: 8 },
widget.any('candlestick-chart', {
bind: { data: 'priceHistory' },
options: { title: 'USD/PLN', type: 'candlestick' },
}))Peer dependencies
echarts^5.4.0
License
BUSL-1.1
