Class AnalysisGridLayer
java.lang.Object
com.arbergashi.charts.ui.grid.AnalysisGridLayer
- All Implemented Interfaces:
GridLayer
Grid layer for analysis renderers (ACF, FFT, etc.) that use custom axis ranges.
This grid layer draws grid lines only (no axis labels), because some analysis renderers handle their own coordinate systems and labeling.
Styling is theme-driven and can be tuned via ChartAssets without changing code.
This enables product-grade UI (TradingView/Bloomberg-like subtle grids) while keeping the
renderer layer free from hard-coded aesthetics.
- Since:
- 2026-01-01
- Version:
- 1.0.0
- Author:
- Arber Gashi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderGrid(Graphics2D g2, PlotContext context) Renders the chart grid for the given plot context.
-
Constructor Details
-
AnalysisGridLayer
public AnalysisGridLayer()
-
-
Method Details
-
renderGrid
Description copied from interface:GridLayerRenders the chart grid for the given plot context.- Specified by:
renderGridin interfaceGridLayer- Parameters:
g2- graphics contextcontext- plot context with bounds and axis ranges
-