@visactor/vrender-components
Version:
components library for dp visualization
35 lines (34 loc) • 1.03 kB
TypeScript
import { LegendBase } from '../base';
import type { ComponentOptions } from '../../interface';
import type { SizeLegendAttributes } from './type';
export declare class SizeContinuousLegend extends LegendBase<SizeLegendAttributes> {
name: string;
static defaultAttributes: {
layout: string;
title: {
align: string;
space: number;
textStyle: {
fontSize: number;
fontWeight: string;
fill: string;
};
};
handlerSize: number;
handlerStyle: {
lineWidth: number;
stroke: string;
fill: string;
};
sizeBackground: {
fill: string;
};
};
private _slider;
constructor(attributes: SizeLegendAttributes, options?: ComponentOptions);
setSelected(value: number[]): void;
protected _renderContent(): void;
protected _bindEvents(): void;
private _onSliderChange;
private _onSliderToolipChange;
}