Skip to content

Chart:SetAxesLimits

OliverF edited this page Jun 12, 2014 · 2 revisions

Sets a static limit on the size of the axes. This method call is optional; Without this call, the chart will scale automatically.

Syntax

nil chart:SetAxesLimits(number xMin, number xMax, number yMin, number yMax)

Returns

  1. nil

Arguments

  1. number xMin
    The new minimum of the X axis.
  2. number xMax
    The new maximum of the X axis.
  3. number yMin
    The new minimum of the Y axis.
  4. number yMax
    The new maximum of the Y axis.

Clone this wiki locally