← All chart types & primitives

Visual primitive

Gridlines has_gridlines

Reference lines across the plot area.

Light gridlines aid reading without dominating. Heavy or dense gridlines become chartjunk. The best practice is light major gridlines (every $50M, every 10%), no minor gridlines.

When critical

Dense data where the eye needs reference lines to read precise values (line charts with 30+ points, bar charts without data labels).

When optional

Sparse charts where data labels cover the precision need. Sparklines and small charts where gridlines crowd.

Failures when missing

  • reader has to estimate values without reference points

Failures when present (badly)

  • heavy gridlines (chartjunk) — the lines compete with the data
  • minor gridlines too dense (visual noise)

Critical for families

  • time-series
  • correlation
  • distribution

Aspose property bindings

  • MajorGridlines.visibility
  • MinorGridlines.visibility
  • CategoryAxis.tickMarks