How to use the @hpcc-js/api.I2DChart.call function in @hpcc-js/api

To help you get started, we’ve selected a few @hpcc-js/api examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hpcc-systems / Visualization / packages / chart / src / WordCloud.ts View on Github external
constructor() {
        super();
        I2DChart.call(this);
        ITooltip.call(this);
        Utility.SimpleSelectionMixin.call(this);

        this._prevOffsetX = this.offsetX();
        this._prevOffsetY = this.offsetY();
        this._prevZoom = this.zoom();
    }
github hpcc-systems / Visualization / packages / chart / src / SummaryC.ts View on Github external
constructor() {
        super();
        I2DChart.call(this);
        this.playInterval(this.playInterval());
    }
github hpcc-systems / Visualization / packages / chart / src / WordCloud.ts View on Github external
constructor() {
        super();
        I2DChart.call(this);
        ITooltip.call(this);
        Utility.SimpleSelectionMixin.call(this);

        this._prevOffsetX = this.offsetX();
        this._prevOffsetY = this.offsetY();
        this._prevZoom = this.zoom();
    }
github hpcc-systems / Visualization / packages / chart / src / Pie.ts View on Github external
constructor() {
        super();
        I2DChart.call(this);
        ITooltip.call(this);
        Utility.SimpleSelectionMixin.call(this);

        this.d3Pie = d3Pie()
            .padAngle(0.0025)
            .sort(function (b, a) {
                return a[1] < b[1] ? -1 : a[1] > b[1] ? 1 : 0;
            })
            .value(function (d) {
                return d[1];
            })
            ;

        this.d3Arc = d3Arc();
        this.d3LabelArc = d3Arc();
        this