Class QQPlotRenderer
java.lang.Object
com.arbergashi.charts.render.BaseRenderer
com.arbergashi.charts.render.statistical.QQPlotRenderer
- All Implemented Interfaces:
ChartRenderer
QQPlotRenderer - Quantile-Quantile Plot
Professional Q-Q plot renderer for distribution comparison. Compares sample quantiles against theoretical distribution quantiles.
Features:
- Quantile Points: Scatter plot of observed vs. expected quantiles
- Reference Line: 45-degree line for perfect normal distribution
- Distribution Test: Visual test for normality
- Deviation Highlighting: Points far from line indicate non-normality
Interpretation:
- Points on line = Data follows theoretical distribution
- S-curve = Heavy tails (leptokurtic)
- Inverted S-curve = Light tails (platykurtic)
- Points above line at ends = Right-skewed data
- Points below line at ends = Left-skewed data
Use Cases:
- Normality testing
- Distribution comparison
- Regression diagnostics
- Quality control
- Since:
- 2026-01-01
- Version:
- 1.0.0
- Author:
- Arber Gashi
-
Field Summary
Fields inherited from class BaseRenderer
PIXEL_BUF, PIXEL_BUF4 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawData(Graphics2D g, ChartModel model, PlotContext context) Implementation-specific drawing logic.Methods inherited from class BaseRenderer
drawHighlightPoint, drawI18nLabel, drawLabel, getArc, getCachedFont, getCachedGradient, getCachedStroke, getCachedStroke, getCachedStroke, getCubicCurve, getEllipse, getId, getLayerIndex, getLegendColor, getLine, getName, getPathCache, getPointAt, getRect, getRoundRectangle, getSeriesColor, getSeriesStroke, getTheme, getTooltipText, isLegendRequired, isMultiColor, pBuffer, pBuffer4, render, resolveTheme, seriesOrBase, setLayerIndex, setMultiColor, setTheme, setupQualityHints, themeAccent, themeAxisLabel, themeBackground, themeBearish, themeBullish, themeForeground, themeGrid, themeSeriesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ChartRenderer
clearHover, createContext, getFocusValues, getPreferredYRange, renderEmptyState, supportsEmptyState
-
Constructor Details
-
QQPlotRenderer
public QQPlotRenderer()
-
-
Method Details
-
drawData
Description copied from class:BaseRendererImplementation-specific drawing logic. Must follow Zero-Allocation rules.- Specified by:
drawDatain classBaseRenderer
-