UNPKG
@graphique/geom-label
Version:
latest (2.0.0)
next (1.0.1)
2.0.0
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.1-next.6
1.0.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
For creating labels based on data in Graphique
graphiquejs/graphique
@graphique/geom-label
/
src
/
types
/
index.ts
11 lines
(8 loc)
•
199 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
Aes
,
DataValue
}
from
'@graphique/graphique'
export
enum
Entrance
{
DATA
=
'data'
,
BOTTOM
=
'bottom'
, }
export
type
GeomAes
<
Datum
> =
Omit
<
Aes
<
Datum
>,
'x'
> & {
x
?:
DataValue
<
Datum
> }