UNPKG
@formant/ava
Version:
latest (3.4.21-formant)
3.4.21-formant
3.4.20-formant
3.4.19-formant
3.4.18-formant
3.4.16-formant
3.4.9-formant
3.4.8-formant
3.4.7-formant
3.4.6-formant
3.4.5-formant
3.4.4-formant
3.4.3-formant
3.4.2-formant
3.4.1-formant
A framework for automated visual analytics.
ava.antv.antgroup.com
@formant/ava
/
lib
/
insight
/
chart
/
strategy
/
chart.d.ts
8 lines
(7 loc)
•
299 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Mark
}
from
'@antv/g2'
;
import
{
InsightInfo
,
InsightType
}
from
'../../types'
;
export
declare
const
insight2ChartStrategy
:
(
insight
:
Omit
<
InsightInfo
<
import
(
"../../types"
).
PatternInfo
>,
"patterns"
|
"visualizationSpecs"
> & { patterns: {
type
: InsightType; }[]; }
) =>
Mark
;