|
@@ -22,7 +22,13 @@ const form = reactive({ type: 1, date: undefined, member: '' });
|
|
const chartOptions: EChartsOption = reactive({
|
|
const chartOptions: EChartsOption = reactive({
|
|
grid: { bottom: 30 },
|
|
grid: { bottom: 30 },
|
|
legend: {},
|
|
legend: {},
|
|
- tooltip: {},
|
|
|
|
|
|
+ tooltip: {
|
|
|
|
+ formatter: (params: any) => {
|
|
|
|
+ console.log(params);
|
|
|
|
+ const { seriesName, value, marker } = params;
|
|
|
|
+ return `${marker} ${seriesName} ${value[seriesName]}`;
|
|
|
|
+ }
|
|
|
|
+ },
|
|
toolbox: {
|
|
toolbox: {
|
|
show: true,
|
|
show: true,
|
|
feature: {
|
|
feature: {
|