Interface: PatternObject

Highcharts. PatternObject

Holds a pattern definition.

Example

// Pattern used as a color option
color: {
    pattern: {
           path: {
                d: 'M 3 3 L 8 3 L 8 8 Z',
               fill: '#102045'
           },
           width: 12,
           height: 12,
           color: '#907000',
           opacity: 0.5
    }
}

Members

animation :boolean|Partial.<Highcharts.AnimationOptionsObject>|undefined

Animation options for the image pattern loading.

Type:

patternIndex :number|undefined

Optionally an index referencing which pattern to use. Highcharts adds 10 default patterns to the Highcharts.patterns array. Additional pattern definitions can be pushed to this array if desired. This option is an index into this array.

Type:
  • number | undefined