feat: plotly-locale-zh-cn.js
This commit is contained in:
@ -9,8 +9,11 @@ XXX: Plotly 需要用 iframe 嵌套在页面中的原因:
|
||||
<title>Plotly 图表的 HTML 页面</title>
|
||||
<!-- <script src="https://cdn.plot.ly/plotly-3.0.1.js"></script> -->
|
||||
<script src="./plotly-3.0.1.js"></script>
|
||||
<!-- https://github.com/plotly/plotly.js/blob/master/dist/README.md#to-include-localization -->
|
||||
<script src="./plotly-locale-zh-cn.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>Plotly.setPlotConfig({locale: 'zh-CN'})</script>
|
||||
<div id="PLOTLY_CHART_spectrogram" style="width: 100%; height: 100%"></div>
|
||||
<div id="PLOTLY_CHART_waterfall" style="width: 100%; height: 100%"></div>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user