UNPKG

highcharts

Version:
50 lines (49 loc) 867 B
/* * * * (c) 2010-2026 Highsoft AS * Author: Paweł Lysy * * Integration of this software requires a license. * - For commercial use, see www.highcharts.com/license * - For non-commercial, see www.highcharts.com/license-eula * * * */ '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;