jqDataVisualization for jQuery Documentation

Common.Watermark


Hierarchy

Common.Title
Common.Watermark

Defines a watermark. For example:

Sample configuration:

var watermarkConfig: {
     text: 'Copyright Information',
     fillStyle: 'red',
     font: '16px sans-serif',
     hAlign: 'right',
     vAlign: 'bottom'
}

Example usage:

$(document).ready(function () {
      $('#selector').jqChart({
          title: 'Watermark',
          watermark: {
              text: 'Copyright Information',
              fillStyle: 'red',
              font: '16px sans-serif',
              hAlign: 'right',
              vAlign: 'bottom'
          },
          series: [
              {
                  title: 'Series 1',
                  type: 'column',
                  data: [['A', 70], ['B', 40], ['C', 85], 
                         ['D', 50], ['E', 25], ['F', 40]]
              }
          ]
      }
  }
Defined By

Config options

Specifies text color. ...

Specifies text color.

Defaults to: 'black'

Specifies text font. ...

Specifies text font.

Defaults to: '14px sans-serif'

Common.Watermark
: String
Specifies the watermark horizontal alignment - 'left', 'center' or 'right'. ...

Specifies the watermark horizontal alignment - 'left', 'center' or 'right'.

Defaults to: 'left'

Specifies text border line width. ...

Specifies text border line width.

Defaults to: 0

Specifies title margins. ...

Specifies title margins.

Defaults to: 6

Specifies text border color.

Specifies text border color.

Specifies the title text. ...

Specifies the title text.

Defaults to: ''

Common.Watermark
: String
Specifies the watermark vertical alignment - 'top', 'center' or 'bottom'. ...

Specifies the watermark vertical alignment - 'top', 'center' or 'bottom'.

Defaults to: 'top'