Sign Up

Chart

Chart class for Daytona SDK.

Constructors

new Chart()

def initialize(type: nil, title: nil, png: nil, elements: [])

Returns:

  • Chart - a new instance of Chart

Methods

type=()

def type=(value)

Sets the attribute type

Parameters:

  • value Object - the value to set the attribute type to.

Returns:

  • Object - the newly set value

type()

def type()

Returns the value of attribute type

Returns:

  • Object - the current value of type

title=()

def title=(value)

Sets the attribute title

Parameters:

  • value Object - the value to set the attribute title to.

Returns:

  • Object - the newly set value

title()

def title()

Returns the value of attribute title

Returns:

  • Object - the current value of title

png=()

def png=(value)

Sets the attribute png

Parameters:

  • value Object - the value to set the attribute png to.

Returns:

  • Object - the newly set value

png()

def png()

Returns the value of attribute png

Returns:

  • Object - the current value of png

elements=()

def elements=(value)

Sets the attribute elements

Parameters:

  • value Object - the value to set the attribute elements to.

Returns:

  • Object - the newly set value

elements()

def elements()

Returns the value of attribute elements

Returns:

  • Object - the current value of elements