{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "chart-chart-galary",
  "framework": "angular",
  "type": "registry:component",
  "component": "Chart",
  "variant": "chart-galary",
  "dependencies": [
    "@syncfusion/ej2-angular-charts"
  ],
  "description": "Showcase of diverse chart types including line, spline, area, column, bar, stacked, candle, and pie charts.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/angular/llms.txt",
    "skillPack": "syncfusion/angular-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/angular/chart-chart-galary.md"
  },
  "files": [
    {
      "target": "src/components/chart-chart-galary/chart-galary.component.html",
      "content": "<div class=\"chart-gallery-page\">\n    <div class=\"chart-gallery-grid\">\n        <!-- 1. Line: markers, custom legend template, trendline, last-value and series labels -->\n        <div id=\"line-with-markers-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Line with Markers, Trendline &amp; Last Value</h3>\n            <ejs-chart id=\"line-with-markers-chart\" height=\"230px\" [primaryXAxis]=\"commonXAxis\"\n                [primaryYAxis]=\"commonYAxis\" [tooltip]=\"commonTooltip\" [legendSettings]=\"lineLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"monthlyData\" xName=\"x\" yName=\"y\" name=\"Revenue\" type=\"Line\" [width]=\"2\"\n                        fill=\"#2563eb\" [marker]=\"lineRevenueMarker\" [lastValueLabel]=\"lineLastValueLabel\"\n                        [labelSettings]=\"lineLabelSettings\">\n                        <e-trendlines>\n                            <e-trendline type=\"Linear\" [width]=\"2\" fill=\"#f97316\"></e-trendline>\n                        </e-trendlines>\n                    </e-series>\n                    <e-series [dataSource]=\"secondLineData\" xName=\"x\" yName=\"y\" name=\"Orders\" type=\"Line\" [width]=\"2\"\n                        fill=\"#f97316\" [marker]=\"lineOrdersMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 2. Spline with shared tooltip -->\n        <div id=\"spline-shared-tooltip-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Spline with Shared Tooltip</h3>\n            <ejs-chart id=\"spline-shared-tooltip-chart\" height=\"230px\" [primaryXAxis]=\"commonXAxis\"\n                [primaryYAxis]=\"commonYAxis\" [tooltip]=\"sharedTooltip\" [legendSettings]=\"commonLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"monthlyData\" xName=\"x\" yName=\"y\" name=\"Actual\" type=\"Spline\" [width]=\"2.5\"\n                        fill=\"#2563eb\" [marker]=\"splineActualMarker\"></e-series>\n                    <e-series [dataSource]=\"secondLineData\" xName=\"x\" yName=\"y\" name=\"Target\" type=\"Spline\" [width]=\"2\"\n                        fill=\"#f97316\" dashArray=\"5,3\" [marker]=\"splineTargetMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 3. Step Line -->\n        <div id=\"step-line-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Step Line with Multi-level Axis Labels</h3>\n            <ejs-chart id=\"step-line-chart\" height=\"230px\" [primaryXAxis]=\"stepXAxis\" [primaryYAxis]=\"commonYAxis\"\n                [tooltip]=\"commonTooltip\" [legendSettings]=\"commonLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"monthlyData\" xName=\"x\" yName=\"y\" name=\"Step revenue\" type=\"StepLine\"\n                        fill=\"#7c3aed\" [width]=\"2.5\" dashArray=\"0\" [marker]=\"stepMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 4. Area -->\n        <div id=\"area-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Area with Gradient Fill</h3>\n            <ejs-chart id=\"area-chart\" height=\"230px\" [primaryXAxis]=\"commonXAxis\" [primaryYAxis]=\"commonYAxis\"\n                [tooltip]=\"commonTooltip\" [legendSettings]=\"commonLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"monthlyData\" xName=\"x\" yName=\"y\" name=\"Revenue\" type=\"Area\"\n                        [opacity]=\"0.85\" [border]=\"border2\" [linearGradient]=\"areaGradient\"\n                        [marker]=\"areaRevenueMarker\" [animation]=\"areaAnimation\"></e-series>\n                    <e-series [dataSource]=\"secondLineData\" xName=\"x\" yName=\"y\" name=\"Orders\" type=\"Area\"\n                        fill=\"#f97316\" [opacity]=\"0.35\" [marker]=\"areaOrdersMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 5. Spline Area -->\n        <div id=\"spline-area-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Spline Area with Spline Comparison</h3>\n            <ejs-chart id=\"spline-area-chart\" height=\"230px\" [primaryXAxis]=\"commonXAxis\"\n                [primaryYAxis]=\"splineAreaYAxis\" [tooltip]=\"sharedTooltip\" [legendSettings]=\"commonLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"monthlyData\" xName=\"x\" yName=\"y\" name=\"Revenue\" type=\"SplineArea\"\n                        fill=\"#2563eb\" [opacity]=\"0.25\" [border]=\"splineAreaBorder\" [marker]=\"splineAreaMarker\"\n                        [animation]=\"splineAreaAnimation\"></e-series>\n                    <e-series [dataSource]=\"secondLineData\" xName=\"x\" yName=\"y\" name=\"Orders\" type=\"Spline\"\n                        fill=\"#f97316\" [width]=\"2.5\" dashArray=\"5,3\" [marker]=\"splineCompareMarker\"\n                        [animation]=\"splineCompareAnimation\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 6. Range Area -->\n        <div id=\"range-area-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Range Area</h3>\n            <ejs-chart id=\"range-area-chart\" height=\"230px\" [primaryXAxis]=\"commonXAxis\" [primaryYAxis]=\"commonYAxis\"\n                [tooltip]=\"rangeTooltip\" [legendSettings]=\"commonLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"rangeData\" xName=\"x\" high=\"high\" low=\"low\" name=\"Forecast range\"\n                        type=\"RangeArea\" fill=\"#8b5cf6\" [opacity]=\"0.28\" [border]=\"border2\"\n                        [marker]=\"rangeMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 7. Column: annotation, error bars, drag editing, point selection and highlight -->\n        <div id=\"column-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Column with Error Bar, Drag &amp; Annotation</h3>\n            <ejs-chart id=\"column-chart\" height=\"230px\" [primaryXAxis]=\"commonXAxis\" [primaryYAxis]=\"commonYAxis\"\n                [tooltip]=\"commonTooltip\" selectionMode=\"Point\" highlightMode=\"Series\" [isMultiSelect]=\"true\"\n                [legendSettings]=\"commonLegend\">\n                <e-annotations>\n                    <e-annotation [content]=\"columnAnnotation\" region=\"Series\" coordinateUnits=\"Point\" x=\"Q4\"\n                        [y]=\"63\"></e-annotation>\n                </e-annotations>\n                <e-series-collection>\n                    <e-series [dataSource]=\"categoryData\" xName=\"x\" yName=\"y\" name=\"Sales\" type=\"Column\"\n                        fill=\"#2563eb\" [columnSpacing]=\"0.2\" [columnWidth]=\"0.65\" [cornerRadius]=\"columnCornerRadius\"\n                        [errorBar]=\"columnErrorBar\" [dragSettings]=\"columnDragSettings\"\n                        [marker]=\"columnMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 8. Bar: numeric value axis, category axis, target stripline and labels -->\n        <div id=\"bar-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Bar with Target Stripline &amp; Data Labels</h3>\n            <ejs-chart id=\"bar-chart\" height=\"250px\" [primaryXAxis]=\"barXAxis\" [primaryYAxis]=\"barYAxis\"\n                [tooltip]=\"barTooltip\" [legendSettings]=\"bottomLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"categoryData\" xName=\"x\" yName=\"y\" name=\"Sales\" type=\"Bar\" fill=\"#2563eb\"\n                        [columnSpacing]=\"0.3\" [columnWidth]=\"0.65\" [cornerRadius]=\"barCornerRadius\"\n                        [marker]=\"barMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 9. Stacking Column with Enhanced Labels -->\n        <div id=\"stacking-column-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Monthly Sales by Channel</h3>\n            <ejs-chart id=\"stacking-column-chart\" height=\"250px\" background=\"transparent\"\n                [chartArea]=\"chartAreaNoBorder\" [primaryXAxis]=\"stackXAxis\" [primaryYAxis]=\"stackYAxis\"\n                [tooltip]=\"stackTooltip\" [stackLabels]=\"stackLabels\" [legendSettings]=\"stackLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"stackedA\" xName=\"x\" yName=\"y\" name=\"Online\" type=\"StackingColumn\"\n                        fill=\"#0D9488\" [columnWidth]=\"0.65\" [columnSpacing]=\"0.15\" [cornerRadius]=\"stackCornerRadius\"\n                        [marker]=\"stackMarker\"></e-series>\n                    <e-series [dataSource]=\"stackedB\" xName=\"x\" yName=\"y\" name=\"Retail\" type=\"StackingColumn\"\n                        fill=\"#F59E0B\" [columnWidth]=\"0.65\" [columnSpacing]=\"0.15\" [marker]=\"stackMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 10. Scatter -->\n        <div id=\"scatter-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Scatter with Selection &amp; Log Axis</h3>\n            <ejs-chart id=\"scatter-chart\" height=\"230px\" [primaryXAxis]=\"scatterXAxis\" [primaryYAxis]=\"scatterYAxis\"\n                [tooltip]=\"sharedTooltip\" selectionMode=\"DragXY\" highlightMode=\"Point\" [isMultiSelect]=\"true\"\n                [legendSettings]=\"commonLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"scatterData\" xName=\"x\" yName=\"y\" name=\"Observations\" type=\"Scatter\"\n                        fill=\"#7c3aed\" [dragSettings]=\"scatterDragSettings\" [marker]=\"scatterMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 11. Bubble: controlled bubble sizes, clean axes and informative tooltip -->\n        <div id=\"bubble-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Bubble with Size Encoding &amp; Tooltip</h3>\n            <ejs-chart id=\"bubble-chart\" height=\"250px\" [primaryXAxis]=\"bubbleXAxis\" [primaryYAxis]=\"bubbleYAxis\"\n                [tooltip]=\"bubbleTooltip\" [legendSettings]=\"bottomLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"bubbleData\" xName=\"x\" yName=\"y\" size=\"size\" name=\"Market segments\"\n                        type=\"Bubble\" [minRadius]=\"4\" [maxRadius]=\"11\" fill=\"#0d9488\"\n                        [marker]=\"bubbleMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 12. Candle: DateTime axis, RSI indicator pane, zooming, panning and trackball -->\n        <div id=\"candle-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Candle with RSI Indicator, Zoom &amp; Pan</h3>\n            <ejs-chart id=\"candle-chart\" height=\"330px\" [primaryXAxis]=\"candleXAxis\" [primaryYAxis]=\"candleYAxis\"\n                [tooltip]=\"candleTooltip\" [crosshair]=\"candleCrosshair\" [zoomSettings]=\"candleZoom\"\n                [legendSettings]=\"bottomLegend\">\n                <e-axes>\n                    <e-axis name=\"rsiAxis\" [rowIndex]=\"1\" [opposedPosition]=\"true\" [minimum]=\"0\" [maximum]=\"100\"\n                        [interval]=\"20\" title=\"RSI\" [majorGridLines]=\"rsiGridLines\"></e-axis>\n                </e-axes>\n                <e-rows>\n                    <e-row height=\"70%\"></e-row>\n                    <e-row height=\"30%\"></e-row>\n                </e-rows>\n                <e-series-collection>\n                    <e-series [dataSource]=\"candleData\" xName=\"x\" open=\"open\" high=\"high\" low=\"low\" close=\"close\"\n                        volume=\"volume\" name=\"Stock price\" type=\"Candle\" bullFillColor=\"#16a34a\"\n                        bearFillColor=\"#dc2626\" [enableSolidCandles]=\"true\"></e-series>\n                </e-series-collection>\n                <!-- The indicator binds the candle data explicitly: without it the Angular wrapper leaves the\n                     indicator's dataSource as an empty object, so the RSI lines are not drawn. -->\n                <e-indicators>\n                    <e-indicator [dataSource]=\"candleData\" xName=\"x\" open=\"open\" high=\"high\" low=\"low\" close=\"close\"\n                        volume=\"volume\" type=\"Rsi\" field=\"Close\" seriesName=\"Stock price\" yAxisName=\"rsiAxis\" [period]=\"3\"\n                        [overBought]=\"70\" [overSold]=\"30\" [upperLine]=\"rsiUpperLine\"\n                        [lowerLine]=\"rsiLowerLine\"></e-indicator>\n                </e-indicators>\n            </ejs-chart>\n        </div>\n\n        <!-- 13. Waterfall -->\n        <div id=\"waterfall-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Waterfall with Totals &amp; Connectors</h3>\n            <ejs-chart id=\"waterfall-chart\" height=\"230px\" [primaryXAxis]=\"commonXAxis\" [primaryYAxis]=\"commonYAxis\"\n                [tooltip]=\"commonTooltip\" [legendSettings]=\"hiddenLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"categoryData\" xName=\"x\" yName=\"y\" name=\"Net change\" type=\"Waterfall\"\n                        [intermediateSumIndexes]=\"[2, 4]\" [sumIndexes]=\"[5]\" [connector]=\"waterfallConnector\"\n                        fill=\"#14b8a6\" negativeFillColor=\"#ef4444\" summaryFillColor=\"#64748b\"\n                        [marker]=\"waterfallMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 14. Histogram -->\n        <div id=\"histogram-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Histogram with Normal Curve</h3>\n            <ejs-chart id=\"histogram-chart\" height=\"230px\" [primaryXAxis]=\"histogramXAxis\"\n                [primaryYAxis]=\"frequencyYAxis\" [tooltip]=\"commonTooltip\" [legendSettings]=\"hiddenLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"histogramData\" yName=\"y\" name=\"Distribution\" type=\"Histogram\"\n                        fill=\"#0d9488\" [binInterval]=\"10\" [showNormalDistribution]=\"true\" [columnWidth]=\"0.95\"\n                        [columnSpacing]=\"0.02\" [marker]=\"topLabelMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 15. Pareto -->\n        <div id=\"pareto-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Pareto with Cumulative Percentage</h3>\n            <ejs-chart id=\"pareto-chart\" height=\"230px\" [primaryXAxis]=\"paretoXAxis\" [primaryYAxis]=\"frequencyYAxis\"\n                [tooltip]=\"paretoTooltip\" [legendSettings]=\"bottomLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"categoryData\" xName=\"x\" yName=\"y\" name=\"Defects\" type=\"Pareto\"\n                        fill=\"#0d9488\" [marker]=\"topLabelMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 16. Box and Whisker -->\n        <div id=\"box-whisker-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Box &amp; Whisker with Mean &amp; Outliers</h3>\n            <ejs-chart id=\"box-whisker-chart\" height=\"230px\" [primaryXAxis]=\"commonXAxis\" [primaryYAxis]=\"boxYAxis\"\n                [tooltip]=\"commonTooltip\" [legendSettings]=\"commonLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"boxData\" xName=\"x\" yName=\"y\" name=\"Regional distribution\"\n                        type=\"BoxAndWhisker\" fill=\"#0d9488\" [showMean]=\"true\" [showOutliers]=\"true\"\n                        boxPlotMode=\"Inclusive\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 17. Radar -->\n        <div id=\"radar-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Radar with Performance vs Target</h3>\n            <ejs-chart id=\"radar-chart\" height=\"230px\" [primaryXAxis]=\"commonXAxis\" [primaryYAxis]=\"radarYAxis\"\n                [tooltip]=\"commonTooltip\" [legendSettings]=\"commonLegend\">\n                <e-series-collection>\n                    <e-series [dataSource]=\"radarPerformanceData\" xName=\"x\" yName=\"y\" name=\"Performance\" type=\"Radar\"\n                        fill=\"#0d9488\" drawType=\"Area\" [opacity]=\"0.35\" [border]=\"border2\"\n                        [marker]=\"radarPerformanceMarker\"></e-series>\n                    <e-series [dataSource]=\"radarTargetData\" xName=\"x\" yName=\"y\" name=\"Target\" type=\"Radar\"\n                        fill=\"#f97316\" drawType=\"Line\" dashArray=\"4,3\" [marker]=\"radarTargetMarker\"></e-series>\n                </e-series-collection>\n            </ejs-chart>\n        </div>\n\n        <!-- 18. Pie -->\n        <div id=\"pie-sample\" class=\"chart-gallery-card\">\n            <h3 class=\"chart-gallery-title\">Pie with Exploded Slice &amp; Smart Labels</h3>\n            <ejs-accumulationchart id=\"pie-chart\" height=\"230px\" [tooltip]=\"pieTooltip\" [legendSettings]=\"pieLegend\"\n                [enableSmartLabels]=\"true\" [enableAnimation]=\"true\">\n                <e-accumulation-series-collection>\n                    <e-accumulation-series [dataSource]=\"pieData\" xName=\"x\" yName=\"y\" name=\"Device share\" type=\"Pie\"\n                        radius=\"85%\" [startAngle]=\"0\" [endAngle]=\"360\" [explode]=\"true\" [explodeIndex]=\"1\"\n                        explodeOffset=\"8%\" [dataLabel]=\"pieDataLabel\"></e-accumulation-series>\n                </e-accumulation-series-collection>\n            </ejs-accumulationchart>\n        </div>\n    </div>\n</div>\n"
    },
    {
      "target": "src/components/chart-chart-galary/chart-galary.component.ts",
      "content": "import { Component, ViewEncapsulation } from '@angular/core';\nimport {\n    ChartModule,\n    AccumulationChartModule,\n    LineSeriesService,\n    SplineSeriesService,\n    StepLineSeriesService,\n    AreaSeriesService,\n    SplineAreaSeriesService,\n    RangeAreaSeriesService,\n    ColumnSeriesService,\n    BarSeriesService,\n    StackingColumnSeriesService,\n    ScatterSeriesService,\n    BubbleSeriesService,\n    CandleSeriesService,\n    WaterfallSeriesService,\n    HistogramSeriesService,\n    ParetoSeriesService,\n    BoxAndWhiskerSeriesService,\n    RadarSeriesService,\n    CategoryService,\n    DateTimeService,\n    LogarithmicService,\n    LegendService,\n    TooltipService,\n    DataLabelService,\n    ZoomService,\n    HighlightService,\n    SelectionService,\n    StripLineService,\n    TrendlinesService,\n    ErrorBarService,\n    ChartAnnotationService,\n    DataEditingService,\n    SeriesLabelService,\n    LastValueLabelService,\n    MultiLevelLabelService,\n    RsiIndicatorService,\n    CrosshairService,\n    PieSeriesService,\n    AccumulationLegendService,\n    AccumulationTooltipService,\n    AccumulationDataLabelService,\n    type AxisModel,\n    type TooltipSettingsModel,\n    type LegendSettingsModel,\n    type MarkerSettingsModel,\n    type ChartAreaModel,\n    type CrosshairSettingsModel,\n    type ZoomSettingsModel,\n    type StackLabelSettingsModel,\n    type AccumulationDataLabelSettingsModel\n} from '@syncfusion/ej2-angular-charts';\n\ntype Point = { x: string; y: number };\ntype RangePoint = { x: string; low: number; high: number };\ntype CandlePoint = { x: Date; open: number; high: number; low: number; close: number; volume: number };\ntype BubblePoint = { x: number; y: number; size: number };\ntype BoxPoint = { x: string; y: number[] };\ntype PiePoint = { x: string; y: number };\n\n@Component({\n    selector: 'app-chart-galary',\n    standalone: true,\n    imports: [ChartModule, AccumulationChartModule],\n    providers: [\n        LineSeriesService, SplineSeriesService, StepLineSeriesService, AreaSeriesService, SplineAreaSeriesService,\n        RangeAreaSeriesService, ColumnSeriesService, BarSeriesService, StackingColumnSeriesService,\n        ScatterSeriesService, BubbleSeriesService, CandleSeriesService, WaterfallSeriesService,\n        HistogramSeriesService, ParetoSeriesService, BoxAndWhiskerSeriesService, RadarSeriesService,\n        CategoryService, DateTimeService, LogarithmicService, LegendService, TooltipService,\n        DataLabelService, ZoomService, HighlightService, SelectionService, StripLineService, TrendlinesService,\n        ErrorBarService, ChartAnnotationService, DataEditingService, SeriesLabelService, LastValueLabelService,\n        MultiLevelLabelService, RsiIndicatorService, CrosshairService,\n        PieSeriesService, AccumulationLegendService, AccumulationTooltipService, AccumulationDataLabelService\n    ],\n    templateUrl: './chart-galary.component.html',\n    styleUrls: ['../styles/chart-galary.component.css'],\n    encapsulation: ViewEncapsulation.None\n})\nexport class ChartGalaryComponent {\n    // ----- Data -----\n    public monthlyData: Point[] = [\n        { x: 'Jan', y: 28 }, { x: 'Feb', y: 35 }, { x: 'Mar', y: 31 },\n        { x: 'Apr', y: 46 }, { x: 'May', y: 40 }, { x: 'Jun', y: 54 },\n        { x: 'Jul', y: 48 }, { x: 'Aug', y: 63 }, { x: 'Sep', y: 57 },\n        { x: 'Oct', y: 72 }, { x: 'Nov', y: 66 }, { x: 'Dec', y: 82 }\n    ];\n\n    public secondLineData: Point[] = [\n        { x: 'Jan', y: 18 }, { x: 'Feb', y: 24 }, { x: 'Mar', y: 22 },\n        { x: 'Apr', y: 30 }, { x: 'May', y: 27 }, { x: 'Jun', y: 38 },\n        { x: 'Jul', y: 34 }, { x: 'Aug', y: 43 }, { x: 'Sep', y: 39 },\n        { x: 'Oct', y: 49 }, { x: 'Nov', y: 45 }, { x: 'Dec', y: 56 }\n    ];\n\n    public rangeData: RangePoint[] = [\n        { x: 'Jan', low: 12, high: 30 }, { x: 'Feb', low: 18, high: 38 },\n        { x: 'Mar', low: 16, high: 35 }, { x: 'Apr', low: 25, high: 48 },\n        { x: 'May', low: 22, high: 44 }, { x: 'Jun', low: 34, high: 58 },\n        { x: 'Jul', low: 30, high: 54 }, { x: 'Aug', low: 42, high: 68 },\n        { x: 'Sep', low: 38, high: 63 }, { x: 'Oct', low: 48, high: 76 },\n        { x: 'Nov', low: 44, high: 70 }, { x: 'Dec', low: 55, high: 86 }\n    ];\n\n    public categoryData: Point[] = [\n        { x: 'Q1', y: 34 }, { x: 'Q2', y: 48 }, { x: 'Q3', y: 42 },\n        { x: 'Q4', y: 63 }, { x: 'Q5', y: 57 }, { x: 'Q6', y: 76 }\n    ];\n\n    public stackedA: Point[] = [\n        { x: 'Jan', y: 18 }, { x: 'Feb', y: 22 }, { x: 'Mar', y: 19 },\n        { x: 'Apr', y: 26 }, { x: 'May', y: 24 }, { x: 'Jun', y: 30 }\n    ];\n\n    public stackedB: Point[] = [\n        { x: 'Jan', y: 12 }, { x: 'Feb', y: 15 }, { x: 'Mar', y: 14 },\n        { x: 'Apr', y: 18 }, { x: 'May', y: 17 }, { x: 'Jun', y: 21 }\n    ];\n\n    public scatterData: { x: number; y: number }[] = [\n        { x: 1, y: 18 }, { x: 2, y: 24 }, { x: 3, y: 21 }, { x: 4, y: 34 },\n        { x: 5, y: 29 }, { x: 6, y: 43 }, { x: 7, y: 38 }, { x: 8, y: 51 },\n        { x: 9, y: 46 }, { x: 10, y: 60 }, { x: 11, y: 55 }, { x: 12, y: 68 }\n    ];\n\n    public bubbleData: BubblePoint[] = [\n        { x: 1.2, y: 18, size: 2 }, { x: 2.1, y: 32, size: 3 },\n        { x: 3.0, y: 25, size: 2.5 }, { x: 4.0, y: 43, size: 4 },\n        { x: 5.0, y: 36, size: 3 }, { x: 6.1, y: 57, size: 5 },\n        { x: 7.0, y: 48, size: 4 }, { x: 8.0, y: 65, size: 3 }\n    ];\n\n    public candleData: CandlePoint[] = [\n        { x: new Date(2025, 0, 1), open: 102, high: 110, low: 98, close: 107, volume: 1200 },\n        { x: new Date(2025, 0, 2), open: 107, high: 113, low: 103, close: 105, volume: 1450 },\n        { x: new Date(2025, 0, 3), open: 105, high: 116, low: 104, close: 113, volume: 1600 },\n        { x: new Date(2025, 0, 4), open: 113, high: 119, low: 109, close: 111, volume: 1380 },\n        { x: new Date(2025, 0, 5), open: 111, high: 121, low: 110, close: 118, volume: 1720 },\n        { x: new Date(2025, 0, 6), open: 118, high: 125, low: 115, close: 122, volume: 1900 },\n        { x: new Date(2025, 0, 7), open: 122, high: 128, low: 117, close: 120, volume: 1810 }\n    ];\n\n    public histogramData: { y: number }[] = [\n        { y: 12 }, { y: 18 }, { y: 21 }, { y: 23 }, { y: 25 }, { y: 27 },\n        { y: 29 }, { y: 31 }, { y: 32 }, { y: 34 }, { y: 35 }, { y: 36 },\n        { y: 38 }, { y: 39 }, { y: 41 }, { y: 43 }, { y: 46 }, { y: 48 },\n        { y: 52 }, { y: 55 }, { y: 59 }, { y: 63 }, { y: 67 }, { y: 72 }\n    ];\n\n    public boxData: BoxPoint[] = [\n        { x: 'North', y: [12, 18, 21, 25, 31, 35, 42] },\n        { x: 'South', y: [15, 19, 24, 29, 33, 38, 44] },\n        { x: 'East', y: [9, 14, 20, 23, 28, 34, 39] },\n        { x: 'West', y: [18, 22, 27, 31, 36, 41, 47] }\n    ];\n\n    public pieData: PiePoint[] = [\n        { x: 'Desktop', y: 38 }, { x: 'Mobile', y: 32 },\n        { x: 'Tablet', y: 18 }, { x: 'Other', y: 12 }\n    ];\n\n    // ----- Shared settings -----\n    public commonTooltip: TooltipSettingsModel = { enable: true, showNearestTooltip: true, enableHighlight: true };\n    public sharedTooltip: TooltipSettingsModel = { ...this.commonTooltip, shared: true };\n    public commonLegend: LegendSettingsModel = { visible: true, enableHighlight: true, position: 'Bottom' };\n    public bottomLegend: LegendSettingsModel = { visible: true, position: 'Bottom' };\n    public hiddenLegend: LegendSettingsModel = { visible: false };\n    public commonXAxis: AxisModel = {\n        valueType: 'Category',\n        majorGridLines: { width: 0 },\n        majorTickLines: { width: 0 }\n    };\n    public commonYAxis: AxisModel = {\n        majorGridLines: { width: 1 },\n        majorTickLines: { width: 0 },\n        lineStyle: { width: 0 }\n    };\n\n    // 1. Line\n    public lineLegend: LegendSettingsModel = {\n        ...this.commonLegend,\n        template: '<div style=\"display:flex;align-items:center;gap:6px;padding:3px 8px;border-radius:4px;background:#f1f5f9;\"><span style=\"font-weight:600;\">${series.name}</span></div>'\n    };\n    public lineRevenueMarker: MarkerSettingsModel = { visible: true, width: 8, height: 8, shape: 'Circle', isFilled: true, border: { width: 2, color: '#ffffff' } };\n    public lineLastValueLabel = { enable: true, background: '#0f766e', font: { color: '#ffffff', fontWeight: '600' }, lineColor: '#0f766e', lineWidth: 1 };\n    public lineLabelSettings = { visible: true, text: 'Revenue', background: '#ecfeff', font: { color: '#0f766e', fontWeight: '600' } };\n    public lineOrdersMarker: MarkerSettingsModel = { visible: true, width: 7, height: 7, shape: 'Diamond', isFilled: true };\n\n    // 2. Spline\n    public splineActualMarker: MarkerSettingsModel = { visible: true, width: 6, height: 6 };\n    public splineTargetMarker: MarkerSettingsModel = { visible: true, width: 5, height: 5 };\n\n    // 3. Step Line\n    public stepXAxis: AxisModel = {\n        ...this.commonXAxis,\n        multiLevelLabels: [{\n            categories: [\n                { start: -0.5, end: 5.5, text: 'First half' },\n                { start: 5.5, end: 11.5, text: 'Second half' }\n            ]\n        }]\n    };\n    public stepMarker: MarkerSettingsModel = { visible: true, width: 8, height: 8, shape: 'Circle', isFilled: true, border: { width: 2, color: '#ffffff' } };\n\n    // 4. Area\n    public areaGradient = {\n        x1: 0, y1: 0, x2: 0, y2: 1,\n        gradientColorStop: [\n            { color: '#0d9488', offset: 0, opacity: 0.85 },\n            { color: '#99f6e4', offset: 100, opacity: 0.18 }\n        ]\n    };\n    public areaRevenueMarker: MarkerSettingsModel = { visible: true, width: 6, height: 6 };\n    public areaOrdersMarker: MarkerSettingsModel = { visible: true, width: 5, height: 5 };\n    public areaAnimation = { enable: true, duration: 900, delay: 0 };\n    public border2 = { width: 2 };\n\n    // 5. Spline Area\n    public splineAreaYAxis: AxisModel = { ...this.commonYAxis, minimum: 0, maximum: 100, interval: 25 };\n    public splineAreaBorder = { color: '#1d4ed8', width: 2.5 };\n    public splineAreaMarker: MarkerSettingsModel = { visible: true, width: 7, height: 7, fill: '#ffffff', border: { color: '#1d4ed8', width: 2 } };\n    public splineAreaAnimation = { enable: true, duration: 1000, delay: 0 };\n    public splineCompareMarker: MarkerSettingsModel = { visible: true, width: 7, height: 7, shape: 'Diamond', fill: '#475569', border: { color: '#ffffff', width: 1.5 } };\n    public splineCompareAnimation = { enable: true, duration: 1000, delay: 200 };\n\n    // 6. Range Area\n    public rangeTooltip: TooltipSettingsModel = { ...this.commonTooltip, format: '${point.x}: ${point.low} - ${point.high}' };\n    public rangeMarker: MarkerSettingsModel = { visible: true, width: 5, height: 5 };\n\n    // 7. Column\n    public columnAnnotation: string = '<div style=\"padding:5px 8px;background:#0f766e;color:#fff;border-radius:4px;font-size:11px;\">Quarterly target achieved</div>';\n    public columnCornerRadius = { topLeft: 5, topRight: 5 };\n    public columnErrorBar = { visible: true };\n    public columnDragSettings = { enable: true, minY: 0, maxY: 100, fill: '#f97316' };\n    public columnMarker: MarkerSettingsModel = { dataLabel: { visible: true, position: 'Top', format: '{value}', font: { fontWeight: '600' } } };\n\n    // 8. Bar\n    public barXAxis: AxisModel = {\n        valueType: 'Category', title: 'Quarter',\n        majorGridLines: { width: 0 }, majorTickLines: { width: 0 },\n        labelIntersectAction: 'Wrap'\n    };\n    public barYAxis: AxisModel = {\n        valueType: 'Double', minimum: 0, maximum: 90, interval: 15,\n        title: 'Sales', majorGridLines: { width: 1 }, majorTickLines: { width: 0 },\n        stripLines: [{\n            start: 50, end: 70, color: '#fbbf24', opacity: 0.18,\n            text: 'Target range', visible: true, zIndex: 'Behind',\n            textStyle: { color: '#92400e', size: '11px' }\n        }]\n    };\n    public barTooltip: TooltipSettingsModel = { enable: true, format: '${point.x}: ${point.y} sales' };\n    public barCornerRadius = { topLeft: 4, topRight: 4 };\n    public barMarker: MarkerSettingsModel = {\n        dataLabel: {\n            visible: true, position: 'Middle', format: '{value}',\n            font: { color: '#ffffff', size: '10px', fontWeight: '600' }\n        }\n    };\n\n    // 9. Stacking Column\n    public chartAreaNoBorder: ChartAreaModel = { border: { width: 0 } };\n    public stackXAxis: AxisModel = {\n        ...this.commonXAxis,\n        title: 'Month',\n        labelStyle: { color: '#475569', size: '12px' },\n        titleStyle: { color: '#334155', size: '12px', fontWeight: '600' },\n        majorGridLines: { width: 0 },\n        lineStyle: { width: 1, color: '#cbd5e1' }\n    };\n    public stackYAxis: AxisModel = {\n        ...this.commonYAxis,\n        title: 'Sales',\n        minimum: 0,\n        maximum: 60,\n        interval: 10,\n        labelStyle: { color: '#64748b', size: '11px' },\n        titleStyle: { color: '#334155', size: '12px', fontWeight: '600' },\n        majorGridLines: { width: 1, color: '#e2e8f0', dashArray: '3,3' },\n        lineStyle: { width: 0 }\n    };\n    public stackTooltip: TooltipSettingsModel = { enable: true, shared: true, showNearestTooltip: true, enableHighlight: true };\n    public stackLabels: StackLabelSettingsModel = {\n        visible: true,\n        format: '{value}',\n        fill: '#334155',\n        font: { color: '#ffffff', size: '11px', fontWeight: '600' }\n    };\n    public stackLegend: LegendSettingsModel = {\n        visible: true,\n        position: 'Bottom',\n        alignment: 'Center',\n        enableHighlight: true,\n        textStyle: { color: '#475569', size: '12px' }\n    };\n    public stackCornerRadius = { topLeft: 0, topRight: 0 };\n    public stackMarker: MarkerSettingsModel = {\n        dataLabel: {\n            visible: true, position: 'Middle', format: '{value}',\n            font: { color: '#ffffff', size: '11px', fontWeight: '600' }\n        }\n    };\n\n    // 10. Scatter\n    public scatterXAxis: AxisModel = { valueType: 'Double', majorGridLines: { width: 0 } };\n    public scatterYAxis: AxisModel = { ...this.commonYAxis, valueType: 'Logarithmic', logBase: 10, minimum: 10 };\n    public scatterDragSettings = { enable: true, minY: 0, maxY: 100 };\n    public scatterMarker: MarkerSettingsModel = { visible: true, width: 10, height: 10, shape: 'Circle', border: { width: 1.5, color: '#ffffff' } };\n\n    // 11. Bubble\n    public bubbleXAxis: AxisModel = {\n        valueType: 'Double', minimum: 0, maximum: 9, interval: 2,\n        title: 'Marketing reach', majorGridLines: { width: 0 },\n        majorTickLines: { width: 0 }\n    };\n    public bubbleYAxis: AxisModel = { ...this.commonYAxis, minimum: 0, maximum: 80, interval: 20, title: 'Engagement score' };\n    public bubbleTooltip: TooltipSettingsModel = { enable: true, format: 'Reach: ${point.x}<br/>Engagement: ${point.y}<br/>Relative size: ${point.size}' };\n    public bubbleMarker: MarkerSettingsModel = { visible: true, opacity: 0.48, border: { width: 1.5, color: '#ffffff' } };\n\n    // 12. Candle\n    public candleXAxis: AxisModel = { valueType: 'DateTime', labelFormat: 'dd MMM', majorGridLines: { width: 0 } };\n    public candleYAxis: AxisModel = {\n        ...this.commonYAxis, title: 'Price', minimum: 90, maximum: 135, interval: 10,\n        crosshairTooltip: { enable: true }\n    };\n    public candleTooltip: TooltipSettingsModel = { enable: true, shared: true };\n    public candleCrosshair: CrosshairSettingsModel = { enable: true, lineType: 'Both' };\n    public candleZoom: ZoomSettingsModel = {\n        enableSelectionZooming: true, enableMouseWheelZooming: true,\n        enablePinchZooming: true, enablePan: true, mode: 'X', showToolbar: true\n    };\n    public rsiGridLines = { width: 0.5 };\n    public rsiUpperLine = { color: '#ef4444', width: 1, dashArray: '4,2' };\n    public rsiLowerLine = { color: '#16a34a', width: 1, dashArray: '4,2' };\n\n    // 13. Waterfall\n    public waterfallConnector = { color: '#9ca3af', width: 1.5, dashArray: '3,2' };\n    public waterfallMarker: MarkerSettingsModel = { dataLabel: { visible: true, position: 'Outer', format: '{value}' } };\n\n    // 14. Histogram\n    public histogramXAxis: AxisModel = { valueType: 'Double', majorGridLines: { width: 0 }, title: 'Value range' };\n    public frequencyYAxis: AxisModel = { ...this.commonYAxis, title: 'Frequency' };\n    public topLabelMarker: MarkerSettingsModel = { dataLabel: { visible: true, position: 'Top', format: '{value}' } };\n\n    // 15. Pareto\n    public paretoXAxis: AxisModel = { ...this.commonXAxis, labelIntersectAction: 'Rotate45' };\n    public paretoTooltip: TooltipSettingsModel = { enable: true, shared: true, showNearestTooltip: true };\n\n    // 16. Box and Whisker\n    public boxYAxis: AxisModel = { ...this.commonYAxis, title: 'Measurement' };\n\n    // 17. Radar\n    public radarYAxis: AxisModel = { ...this.commonYAxis, minimum: 0, maximum: 100, interval: 20 };\n    public radarPerformanceData: Point[] = this.monthlyData.slice(0, 6);\n    public radarTargetData: Point[] = this.secondLineData.slice(0, 6);\n    public radarPerformanceMarker: MarkerSettingsModel = { visible: true, width: 8, height: 8 };\n    public radarTargetMarker: MarkerSettingsModel = { visible: true, width: 7, height: 7 };\n\n    // 18. Pie\n    public pieTooltip: TooltipSettingsModel = { enable: true, format: '${point.x}: ${point.y} (${point.percentage}%)' };\n    public pieLegend: LegendSettingsModel = { visible: true, position: 'Right', toggleVisibility: true };\n    public pieDataLabel: AccumulationDataLabelSettingsModel = {\n        visible: true, position: 'Outside', name: 'x', showZero: false,\n        connectorStyle: { length: '10px', type: 'Curve', width: 1 }\n    };\n}\n"
    }
  ]
}