MCPcopy
hub / github.com/antvis/F2 / OptionsProps

Interface OptionsProps

packages/f2-algorithm/src/rateDownSample.ts:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54};
55
56export interface OptionsProps {
57 sampling: 'nearest' | 'max' | 'min' | Function;
58 /* 周期 */
59 rate: number;
60 dimension: string;
61}
62
63export default function rateDownSample(data, options?: OptionsProps) {
64 const { sampling = 'nearest', rate = 5, dimension = 'value' } = options;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected