UNPKG

highcharts

Version:
49 lines (48 loc) 789 B
/* * * * (c) 2010-2026 Highsoft AS * Author: Paweł Lysy * * A commercial license may be required depending on use. * See www.highcharts.com/license * * * */ 'use strict'; /* * * * Class * * */ class TreemapNode { constructor() { /* * * * Properties * * */ this.childrenTotal = 0; this.visible = false; } /* * * * Functions * * */ init(id, i, children, height, level, series, parent) { this.id = id; this.i = i; this.children = children; this.height = height; this.level = level; this.series = series; this.parent = parent; return this; } } /* * * * Default Export * * */ export default TreemapNode;