Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ChartConfigImpl

Implements

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

Properties

container

container: HTMLCanvasElement

data

data: ChartData

Methods

applyTheme

  • applyTheme(theme: DeepPartial<ChartTheme>): void
  • Parameters

    Returns void

getOrDefault

  • getOrDefault<T>(v: T | undefined, def: T): T
  • Type parameters

    • T

    Parameters

    • v: T | undefined
    • def: T

    Returns T

Object literals

options

options: object

backgroundColor

backgroundColor: string = "white"

barChartOpacity

barChartOpacity: number = 0.6

percentage

percentage: false = false

stacked

stacked: false = false

theme

theme: DAY = ThemeName.DAY

yScaled

yScaled: false = false

animation

animation: object

duration

duration: object

dataSetShowHide

dataSetShowHide: number = 300

gridAndLabels

gridAndLabels: number = 400

scroll

scroll: number = 300

legend

legend: object

container

container: undefined = undefined

masterChart

masterChart: object

curtain

curtain: object

minVisiblePoints

minVisiblePoints: number = 10

coveredArea

coveredArea: object

color

color: string = "#E2EEF9"

opacity

opacity: number = 0.6

handle

handle: object

color

color: string = "#C0D1E1"

cornerRadius

cornerRadius: number = 6

opacity

opacity: number = 1

width

width: number = 10

padding

padding: object

bottom

bottom: number = 30

left

left: number = 5

right

right: number = 5

top

top: number = 5

tooltip

tooltip: object

boxShadowColor

boxShadowColor: string = "#545454"

distanceFromTop

distanceFromTop: number = 10

enabled

enabled: true = true

formatX

formatX: function = formatByName.dateFull

Type declaration

    • (x: number): string
    • Parameters

      • x: number

      Returns string

formatY

formatY: function = formatByName.numberLocal

Type declaration

    • (x: number): string
    • Parameters

      • x: number

      Returns string

pointRadius

pointRadius: number = 5

rowGap

rowGap: number = 5

showVerticalLine

showVerticalLine: true = true

tooltipCornerRadius

tooltipCornerRadius: number = 5

dataSetNameStyle

dataSetNameStyle: object

fontColor

fontColor: string = "black"

fontFamily

fontFamily: string = DEFAULT_FONT_FAMILY

fontSize

fontSize: number = 12

headerStyle

headerStyle: object

fontColor

fontColor: string = "black"

fontFamily

fontFamily: string = DEFAULT_FONT_FAMILY

fontSize

fontSize: number = 12

fontWeight

fontWeight: string = "bold"

line

line: object

color

color: string = "#545454"

lineWidth

lineWidth: number = 1

opacity

opacity: number = 0.4

padding

padding: object

bottom

bottom: number = 10

left

left: number = 10

right

right: number = 10

top

top: number = 10

valueStyle

valueStyle: object

fontFamily

fontFamily: string = DEFAULT_FONT_FAMILY

fontSize

fontSize: number = 12

fontWeight

fontWeight: string = "bold"

xAxis

xAxis: object

gridLines

gridLines: object

color

color: string = "#182D3B"

display

display: false = false

lineWidth

lineWidth: number = 1

opacity

opacity: number = 1

ticks

ticks: object

display

display: true = true

fontColor

fontColor: string = "#182D3B"

fontFamily

fontFamily: string = DEFAULT_FONT_FAMILY

fontSize

fontSize: number = 10

formatLabel

formatLabel: function = formatByName.dateDayMonth

Type declaration

    • (x: number): string
    • Parameters

      • x: number

      Returns string

minPointsPerTick

minPointsPerTick: number = 50

opacity

opacity: number = 1

textAlign

textAlign: "center" = "center"

labelOffset

labelOffset: object

x

x: number = 0

y

y: number = 20

yAxis

yAxis: object

gridLines

gridLines: object

color

color: string = "#182D3B"

display

display: true = true

lineWidth

lineWidth: number = 1

opacity

opacity: number = 1

ticks

ticks: object

display

display: true = true

fontColor

fontColor: string = "#182D3B"

fontFamily

fontFamily: string = DEFAULT_FONT_FAMILY

fontSize

fontSize: number = 10

formatLabel

formatLabel: function = formatByName.numberScientific

Type declaration

    • (x: number): string
    • Parameters

      • x: number

      Returns string

minPointsPerTick

minPointsPerTick: number = 50

opacity

opacity: number = 1

textAlign

textAlign: "left" = "left"

labelOffset

labelOffset: object

x

x: number = 5

y

y: number = -5

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc