Represents the major/minor gridlines for an Axis.

The color of the grid lines is controlled by the ChartLineBase.fill property.

The width of the grid lines is controlled by the ChartLineBase.widthInPoints property.

Hierarchy

Hierarchy

Constructors

  • Returns ChartGridLines

  • Parameters

    • owner: IChartObject

    Returns ChartGridLines

  • Parameters

    • Rest ..._rest: any[]

    Returns ChartGridLines

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get chart(): WorksheetChart
  • Returns the owning chart (read-only)

    See

    owner

    Returns WorksheetChart

  • get gridLineType(): GridLineType
  • Returns a value indicating whether this instance represents a major or minor gridline.

    Returns GridLineType

  • set gridLineType(a: GridLineType): void
  • Parameters

    Returns void

  • get owner(): ChartObject
  • returns this object's owner. (read-only) The owner or null if this object is owned directly by the Chart

    See

    chart

    Returns ChartObject

  • get sheet(): Sheet
  • The owning sheet (read-only)

    Returns Sheet

  • get widthInPoints(): number
  • Determines the width of the line, expressed in points.

    A point is a graphical unit equal to 1/72", i.e., there are 72 points in one inch.

    Returns number

  • set widthInPoints(a: number): void
  • Parameters

    • a: number

    Returns void

  • get workbook(): Workbook
  • The owning workbook (read-only)

    Returns Workbook

  • get worksheet(): Worksheet
  • The owning worksheet (read-only)

    Returns Worksheet

Methods

  • Parameters

    • other: any

    Returns boolean

  • Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns number

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Returns void