Package com.arbergashi.charts.ui.legend
package com.arbergashi.charts.ui.legend
Legend UI components.
Overview
This package contains the framework's legend implementations:
InteractiveLegendOverlayfor overlay legendsDockedLegendPanelfor docked legends
Interactivity
- Click series name: toggles series visibility
- Alt+Click series name: solos a series (optional, see configuration)
Configuration
Legend sizing and layout can be tuned via ChartAssets keys. Docked legends also support
a density preset via Chart.legend.dock.density=compact|dense.
Solo mode: can be disabled via Chart.legend.soloEnabled=false.
-
ClassDescriptionDocked legend container.TradingView-style interactive legend overlay.Holds per-series visibility state.Callbacks for interactive legend actions.Minimal chart data access for legend rendering.Legend configuration for an
ArberChartPanel.Density presets for legend UI.Docking sides for legends whenLegendPlacement.DOCKEDis used.Defines whether the legend is rendered as an overlay within the chart canvas or docked outside the plot area.Standard positions for overlay legends.A single row in the interactive legend.