We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 iframe 中渲染时,notebook.html 中 overflow 属性会影响外部样式,导致外部 window 不能滚动
The text was updated successfully, but these errors were encountered:
If using PyG2Plot with PyWebIO together This is the solution that worked for me:
from pyg2plot import Plot from pywebio.output import
body_css = """
"""
''' Column chart ''' column = Plot('Column') column.set_options({ "appendPadding": 32, "data": data, "xField": "city", "yField": "value", "seriesField": "type", "isGroup": True, "columnStyle": { "radius": [20, 20, 0, 0], }, "legend": { "position": "top" } })
''' Inject css before chart ''' pywebio.output.put_html(body_css) put_html(column.render_notebook())
Sorry, something went wrong.
No branches or pull requests
在 iframe 中渲染时,notebook.html 中 overflow 属性会影响外部样式,导致外部 window 不能滚动
The text was updated successfully, but these errors were encountered: