Fix page color (#1295)

* Add: page color option
This commit is contained in:
陈键冬 2019-08-21 16:33:02 +08:00 committed by GitHub
parent f430c0fce2
commit 6db7f72e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,7 @@ class Timeline(Base):
"title": chart.options.get("title"),
"tooltip": chart.options.get("tooltip"),
"visualMap": chart.options.get("visualMap"),
"color": chart.options.get("color"),
}
)
self.__check_components(chart)

View File

@ -110,3 +110,4 @@ def test_page_with_multi_axis():
for t in tl.options.get("options"):
assert "xAxis" in t
assert "color" in t