Class: c3.Plot.Layer.Swimlane.Flamechart

Defined in: js/c3-layers.coffee
Inherits: c3.Plot.Layer.Swimlane.Segment

Overview

A swimlane layer for rendering flamecharts or flamegraphs.

In C3, both a Flamechart and an Icicle can actually grow either up or down depending if you set v_orient as top or bottom. A Flamechart defaults to growing up and an Icicle defaults to growing down. In C3, a Flamechart visualizes a timeline of instances of nested events over time, while an Icicle visualizes an aggregated tree hierarchy of nodes. The Sunburst is the equivalent of an Icicle rendered on a polar axis.

A key() is required for this layer. You should not define y, but you must define a x, dx, and dy.

Author:

Variables Summary

version =
0.1
type =
'flamechart'
v_orient =
'bottom'

[String] top for 0 to be at the top, bottom for the bottom. Flamechart defaults to bottom-up.

Variable inherited from c3.Plot.Layer.Swimlane.Segment

version type dx key filter value limit_elements rect_options label_options v_orient dy hover lane_options _next_uid data name class static_data h v x y h_orient options handlers restyle

Instance Method Summary

Inherited Method Summary

Methods inherited from c3.Plot.Layer.Swimlane.Segment

#_init #_hover_datum #_update #_draw #_style #_size #init #size #update #draw #style #zoom #pan #redraw #scale #min_x #max_x #min_y #max_y

Instance Method Details

# (void) _init() Bound

# (void) _update(origin) Bound

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: