Sign in
apache
/
echarts
/
6d02bbd1f25c3fe33df771b33d7c47147fd89d81
/
.
/
test
/
types
/
basic.ts
blob: 92a70d887f3fc8063610f6a3103c18b7e4899dbd [
file
] [
log
] [
blame
]
import
*
as
echarts
from
'../../'
;
const
dom
=
document
.
createElement
(
'div'
);
dom
.
className
=
'chart'
;
const
chart
=
echarts
.
init
(
dom
);
const
option
:
echarts
.
EChartsOption
=
{
series
:
[{
type
:
'bar'
}]
};
chart
.
setOption
(
option
);