diff --git a/.DS_Store b/.DS_Store index 51b4850..ada58f6 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/build/index.html b/build/index.html index 190ff21..304a40f 100644 --- a/build/index.html +++ b/build/index.html @@ -8,7 +8,7 @@ NPCs - + diff --git a/src/components/Chart/index.tsx b/src/components/Chart/index.tsx index 69f20af..1c8950a 100644 --- a/src/components/Chart/index.tsx +++ b/src/components/Chart/index.tsx @@ -6,24 +6,24 @@ function Chart({ options }) { let chartInstance = null; options = eval('('+options.substring(8)+')'); - options = { - "chartType": "line", - "xData": [ - "江苏", - "浙江", - "广东", - "广州", - "北京", - "山西", - "河北" - ], - "data": { - "2023上半年":['120%', '132%', '101%', '134%', '90%', '230%', '210%'], - "2024上半年":['220%', '182%', '191%', '234%', '290%', '330%', '310%'] - }, - "legend": [], - "pieData": [] - } + // options = { + // "chartType": "line", + // "xData": [ + // "江苏", + // "浙江", + // "广东", + // "广州", + // "北京", + // "山西", + // "河北" + // ], + // "data": { + // "2023上半年":['120%', '132%', '101%', '134%', '90%', '230%', '210%'], + // "2024上半年":['220%', '182%', '191%', '234%', '290%', '330%', '310%'] + // }, + // "legend": [], + // "pieData": [] + // } options.legend = Object.keys(options.data); options.pieData = []; options.series = [];