1 | import { AxisCfg, Datum, RectCfg, RectData } from '../interface';
|
2 | import View from '../chart/view';
|
3 | import { Facet } from './facet';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export default class Rect extends Facet<RectCfg, RectData> {
|
9 | protected afterEachView(view: View, facet: RectData): void;
|
10 | protected beforeEachView(view: View, facet: RectData): void;
|
11 | protected getDefaultCfg(): any;
|
12 | render(): void;
|
13 | |
14 |
|
15 |
|
16 |
|
17 | protected generateFacets(data: Datum[]): RectData[];
|
18 | private renderTitle;
|
19 | |
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | protected getXAxisOption(x: string, axes: any, option: AxisCfg, facet: RectData): object;
|
27 | |
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | protected getYAxisOption(y: string, axes: any, option: AxisCfg, facet: RectData): object;
|
35 | }
|