一个简单的例子
```python
import dashboard_pyechart as dp
from pyecharts import Bar
ds = dp.Dashboard(title='myfst',logo_img=r'C:\Users\Administrator\Desktop\logo.png',background_img=r'C:\Users\Administrator\Desktop\background.png')
attr = ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
v1 = [5, 20, 36, 10, 75, 90]
v2 = [10, 25, 8, 60, 20, 80]
bar = Bar("柱状图数据堆叠示例")
bar.add("商家A", attr, v1, is_stack=True)
bar.add("商家B", attr, v2, is_stack=True)
bar1 = Bar("柱状图数据堆叠示例")
bar1.add("商家A", attr, v1, is_stack=True)
bar1.add("商家B", attr, v2, is_stack=True)
bar2 = Bar("柱状图数据堆叠示例")
bar2.add("商家A", attr, v1, is_stack=True)
bar2.add("商家B", attr, v2, is_stack=True)
bar3 = Bar("柱状图数据堆叠示例")
bar3.add("商家A", attr, v1, is_stack=True)
bar3.add("商家B", attr, v2, is_stack=True)
bar4 = Bar("柱状图数据堆叠示例")
bar4.add("商家A", attr, v1, is_stack=True)
bar4.add("商家B", attr, v2, is_stack=True)
ds.add_chart(bar,'wodediyige chart')
ds.add_chart(bar1,'wodediyige chart')
ds.add_chart(bar2,'wodediyige chart')
ds.add_chart(bar3,'wodediyige chart')
ds.add_chart(bar4,'wodediyige chart')
ds.save()
```
Metadata
Release files for dashboard-pyechart 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dashboard-pyechart-0.0.2.tar.gz | 3.2 kB | Without provenance | Details for dashboard-pyechart-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dashboard_pyechart-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for dashboard_pyechart-0.0.2-py3-none-any.whl |
Total release size: 8.5 kB
Release files / dashboard-pyechart-0.0.2.tar.gz
| Download URL | dashboard-pyechart-0.0.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b30bc265f62aeb75c245fce30a788c06defbe30748905548dd9366346a5896c7
|
|
BLAKE2b-256 checksum How to use checksums |
3ac7571181ae011ee957e73d3de4f0ad42e2b962c37ef439b700081f947f5e17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.4
|
Release files / dashboard_pyechart-0.0.2-py3-none-any.whl
| Download URL | dashboard_pyechart-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbda8e94dd359e1a4ed01812e9c2b9a62c032bf953c9b19746d5aff967fce7e7
|
|
BLAKE2b-256 checksum How to use checksums |
0f957c646e0bb7f457b7dfe7a14721a8dbdd5e229ba5ba79f96b6bf063504000
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.4
|
Security for dashboard-pyechart 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.