Class DefaultGridLayer
java.lang.Object
com.arbergashi.charts.ui.grid.DefaultGridLayer
- All Implemented Interfaces:
GridLayer
Default grid layer for general-purpose charts.
Renders a clean, adaptive grid using NiceScale for tick positioning.
All styling is theme-driven via UIManager properties (e.g., FlatLaf themes). This enables Bloomberg/SciChart-grade grid quality without code changes.
- Since:
- 2026-01-01
- Version:
- 1.0.0
- Author:
- Arber Gashi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderGrid(Graphics2D g, PlotContext context) Renders the chart grid for the given plot context.
-
Constructor Details
-
DefaultGridLayer
public DefaultGridLayer()
-
-
Method Details
-
renderGrid
Description copied from interface:GridLayerRenders the chart grid for the given plot context.- Specified by:
renderGridin interfaceGridLayer- Parameters:
g- graphics contextcontext- plot context with bounds and axis ranges
-