Comments (9)
- 使用前后端分离前的静态资源和 django 使用的静态资源一样嘛?
from pyecharts.
不太理解,整个架构跟官网给出的形式是一样的。
from pyecharts.
不太理解,整个架构跟官网给出的形式是一样的。
- 那建议你先对比一下使用 django 和不使用时的区别哈~
from pyecharts.
使用Django时圆角会消失,不使用的时候圆角正常显示。并且我看传过去的Json数据中也是有圆角参数的:
from pyecharts.
- 我最开始就说了,先对比一下静态资源的差异。
from pyecharts.
当我使用card.render_embed()
,这种前后端不分离的方式可以正常显示。
当使用前后端分离的方式时不能正常显示。
我对比了两者的前端资源:
- 首先是Echarts参数部分,是相同的。
- 对比Body部分,几乎是相同的:
- canvas方面有较大的不同
- 可以正常显示的
<div class="" style="position: absolute; display: block; border-style: solid; white-space: nowrap; z-index: 9999999; box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px; transition: opacity 0.2s cubic-bezier(0.23, 1, 0.32, 1) 0s, visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1) 0s, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s; background-color: rgb(255, 255, 255); border-width: 0px; border-radius: 4px; color: rgb(102, 102, 102); font: 14px / 21px "Microsoft YaHei"; padding: 5px; top: 0px; left: 0px; transform: translate3d(608px, 313px, 0px); border-color: rgb(44, 221, 113); pointer-events: none; visibility: hidden; opacity: 0;"><div style="margin: 0px 0 0;line-height:1;"><div style="font-size:14px;color:#666;font-weight:400;line-height:1;">价格</div><div style="margin: 10px 0 0;line-height:1;"><div style="margin: 0px 0 0;line-height:1;"><span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:#2cdd71;"></span><span style="font-size:14px;color:#666;font-weight:400;margin-left:2px">价格</span><span style="float:right;margin-left:20px;font-size:14px;color:#666;font-weight:900">13.25</span><div style="clear:both"></div></div><div style="clear:both"></div></div><div style="clear:both"></div></div></div>
- 不能正常显示的
<div class="" style="position: absolute; display: none; border-style: solid; white-space: nowrap; z-index: 9999999; transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s; background-color: rgba(50, 50, 50, 0.7); border-width: 0px; border-color: rgb(51, 51, 51); border-radius: 4px; color: rgb(255, 255, 255); font: 14px / 21px "Microsoft YaHei"; padding: 5px; left: 669px; top: 365px; pointer-events: none;">价格<br><span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:#2cdd71;"></span>价格: 14</div>```
from pyecharts.
- 静态资源那块看了嘛?你上面截图只是 html 这部分的
from pyecharts.
我对前端了解不多,您是指本地HTML文件吗?本地HTML文件均是官网上复制粘贴的。Scripts中Echarts的参数两者都是相同的。
from pyecharts.
应该是Django的原因。vue没有类似的问题。
from pyecharts.
Related Issues (20)
- 使用timeline,节点悬浮文本显示underfined HOT 1
- 桑基图中某一层级的顺序能固定吗? HOT 1
- In recent versions of JupyterLab and Jupyter Notebooks, charts do not appear (empty cell) HOT 3
- BMap画Lines和热力图无法同时渲染 HOT 1
- stackbar+vertical datazoom设置的场景下,如果stack层数比较多,会导致丢失图像的问题 HOT 1
- 折线树图不支持 HOT 2
- jupyterhub中使用时出现require is not defined HOT 1
- 3D关系图无法配置结点显示颜色和大小
- Kline配置k线图全是红线 HOT 3
- 传入dict以生成Line折线图无法显示,以往issue解决了当x轴类型设置不为value时的情况,但是没有解决当x轴类型为value的情况 HOT 4
- 3D图坐标轴颜色无法修改 HOT 1
- 除权信息 HOT 3
- Windows下render可以指定CRLF为LF么? HOT 9
- 含可拖拽内容的图是否有保存拖拽后结果的接口 HOT 1
- label_opts不生效的问题 HOT 1
- pyecharts 散点应该如何设置large:true
- 请问pyecharts散点如何设置large:true? how to set large: true for pyecharts scatter?
- **地图未更新,似乎缺少黑瞎子岛 HOT 3
- 我想实现柱状图+甘特图 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyecharts.