Home Reference Source
import {SvgBarchartStrategy} from 'proteic/src/svg/strategy_barchart.js'
public class | source

SvgBarchartStrategy

Extends:

SvgAxis → SvgBarchartStrategy

Constructor Summary

Public Constructor
public

constructor(context: *)

Member Summary

Public Members
public

axes: *

public

bars: *

public

data: *

public

legend: *

Method Summary

Public Methods
public

draw(data: Object)

Renders a barchart based on data object

public
public

Inherited Summary

From class SvgAxis
public

config: *

public
public

changeConfigProperty(p: *, v: *)

public

rescale(width: *, height: *)

Public Constructors

public constructor(context: *) source

Override:

SvgAxis#constructor

Params:

NameTypeAttributeDescription
context *

Public Members

public axes: * source

public bars: * source

public data: * source

public legend: * source

Public Methods

public draw(data: Object) source

Renders a barchart based on data object

Params:

NameTypeAttributeDescription
data Object

Data Object. Contains an array with x and y properties.

public transition2Grouped() source

public transition2Stacked() source