Skip to content

Commit de188f7

Browse files
committed
v1.3.5 bug fix 修正图叠加 visualmap 参数错误
1 parent 219cd7e commit de188f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

chartspy/echarts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,9 @@ def overlap_series(self, other_chart_options: list = []):
247247
for i in range(0, len(chart_option["visualMap"])):
248248
if "seriesIndex" in chart_option["visualMap"][i].keys():
249249
chart_option["visualMap"][i]['seriesIndex'] = chart_option["visualMap"][i][
250-
'seriesIndex'] + i + old_series_count
250+
'seriesIndex'] + old_series_count
251251
else:
252-
chart_option["visualMap"][i]['seriesIndex'] = i + old_series_count
252+
chart_option["visualMap"][i]['seriesIndex'] = old_series_count
253253
this_options["visualMap"].extend(chart_option["visualMap"])
254254

255255
return Echarts(options=this_options, extra_js=self.extra_js, width=self.width, height=self.height)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_install_requires():
2323

2424
setup(
2525
name="chartspy",
26-
version="1.3.4",
26+
version="1.3.5",
2727
url="https://chartspy.icopy.site/",
2828
description="echarts&g2plot python wrapper",
2929
keywords='echarts g2plot python ',

0 commit comments

Comments
 (0)