UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

46 lines (45 loc) 1.63 kB
import { ChartType } from '../../../../../constants/chart-style'; import MapboxChartStyleService, { IMapboxChartStyle } from './base'; export interface IMapboxPathChartStyle extends IMapboxChartStyle { pointColor: string; lineColor: string; pointSize: number; lineSize: number; showPoint: boolean; } export default abstract class MapboxPathChartStyleService extends MapboxChartStyleService implements IMapboxPathChartStyle { chartType: ChartType; pointColor: string; lineColor: string; pointSize: number; lineSize: number; showPoint: boolean; getOptions(): { pointColor: string; lineColor: string; pointSize: number; lineSize: number; showPoint: boolean; zoomPosition: import("../../../../../constants").ControlPositionType; longitudeField: string; latitudeField: string; displayFields: string[]; maxZoom: number; zoom: [number]; center: [number, number]; theme: import("../../../../../constants").EMapboxMode; coordinateSystem: import("../../../../../constants").CoordinateSystem; chartType: ChartType; currentBuckets: string[]; currentMetrics: string[]; unit: string[]; precision: number; displayColors?: import("../base").IColor[] | undefined; }; setLineColor(lineColor: string): void; setPointColor(pointColor: string): void; setPointSize(pointSize: number): void; setLineSize(lineSize: number): void; setShowPoint(showPoint: boolean): void; constructor(options: IMapboxPathChartStyle); }