mirror of
https://gitee.com/smartchart/smartchart
synced 2025-07-02 02:52:17 +08:00
v3.8.9.17
This commit is contained in:
parent
98010c459b
commit
d0bfd24b05
20
README.md
20
README.md
@ -6,7 +6,7 @@
|
|||||||
[Gitee](https://gitee.com/smartchart/smartchart)
|
[Gitee](https://gitee.com/smartchart/smartchart)
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://www.smartchart.cn"><img src="https://www.smartchart.cn/static/index/logo8.png" width="45%"></a>
|
<a href="https://www.smartchart.cn"><img src="https://www.smartchart.cn/media/editor/WechatIMG51_20210117224243671223.png" width="45%"></a>
|
||||||
</p>
|
</p>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<strong>A platform that Connect Data to Echarts.</strong>
|
<strong>A platform that Connect Data to Echarts.</strong>
|
||||||
@ -58,7 +58,7 @@
|
|||||||
- [SmartChart集成DataV](https://www.smartchart.cn/echart/?type=Smartchart_DataV "集成DATAV")
|
- [SmartChart集成DataV](https://www.smartchart.cn/echart/?type=Smartchart_DataV "集成DATAV")
|
||||||
- [Smartchart图形数据联动](https://www.smartchart.cn/echart/?type=评论分析 "图形数据联动")
|
- [Smartchart图形数据联动](https://www.smartchart.cn/echart/?type=评论分析 "图形数据联动")
|
||||||
- [Smartchart无关重要的视屏](https://www.ixigua.com/6910413586208653837?id=6910161770221044237 "smartchart")
|
- [Smartchart无关重要的视屏](https://www.ixigua.com/6910413586208653837?id=6910161770221044237 "smartchart")
|
||||||
- [Smartchart与Jupyter](https://www.ixigua.com/6912682016601440772/ "smartchart")
|
- [Smartchart与Jupyter](https://www.ixigua.com/6910413586208653837?id=6912682016601440772 "smartchart")
|
||||||
|
|
||||||
|
|
||||||
### 快速开始
|
### 快速开始
|
||||||
@ -72,20 +72,21 @@
|
|||||||
|
|
||||||
#### 安装SmartChart
|
#### 安装SmartChart
|
||||||
```shell script
|
```shell script
|
||||||
pip3 install smartchart
|
step1: pip3 install smartchart
|
||||||
pip3 install smartdb (初始化DB,会覆盖以有DB)
|
step2: pip3 install smartdb
|
||||||
|
|
||||||
升级
|
|
||||||
pip3 install smartchart -U (升级)
|
|
||||||
如果安装过程慢,建意使用
|
如果安装过程慢,建意使用
|
||||||
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple smartchart -U
|
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple smartchart -U
|
||||||
|
|
||||||
|
升级方法:
|
||||||
|
pip3 install smartchart -U (升级)
|
||||||
```
|
```
|
||||||
|
|
||||||
### 应用场景一: 快速启动, 独立平台使用(推荐!)
|
### 应用场景一: 快速启动, 独立平台使用(推荐!)
|
||||||
```shell script
|
```shell script
|
||||||
本地命令行启动:
|
本地命令行启动:
|
||||||
smartchart
|
smartchart
|
||||||
如果你需要远程访问,启动方式:
|
如果你需要远程访问,服务端启动方式:
|
||||||
smartchart runserver 0.0.0.0:8000 --insecure
|
smartchart runserver 0.0.0.0:8000 --insecure
|
||||||
```
|
```
|
||||||
**访问首页http://127.0.0.1:8000 后点击首页右上方的云图标初始化数据**
|
**访问首页http://127.0.0.1:8000 后点击首页右上方的云图标初始化数据**
|
||||||
@ -106,6 +107,9 @@
|
|||||||
**仅仅只有两个命令,get and set, 简化数据分析工作**
|
**仅仅只有两个命令,get and set, 简化数据分析工作**
|
||||||

|

|
||||||
|
|
||||||
|
- [Smartchart与Pandas](https://www.ixigua.com/6910413586208653837?id=6918162479646245389 "smartchart")
|
||||||
|
- [Smartchart与Jupyter](https://www.ixigua.com/6910413586208653837?id=6917989046132310535 "smartchart")
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from smart_chart.common.tools import Smart
|
from smart_chart.common.tools import Smart
|
||||||
mysmart = Smart()
|
mysmart = Smart()
|
||||||
@ -234,7 +238,7 @@ v3.9.8.2 支持所有常见数据库,支持VUE,DATAV
|
|||||||
v3.9.8.7 支持Jupyter,支持一键分享和应用dashboard模板
|
v3.9.8.7 支持Jupyter,支持一键分享和应用dashboard模板
|
||||||
v3.9.8.9 帐号绑定功能上线
|
v3.9.8.9 帐号绑定功能上线
|
||||||
v3.9.8.10 用户自定义图形管理上线
|
v3.9.8.10 用户自定义图形管理上线
|
||||||
|
v3.9.8.17 支持最新的Echarts5.0, 优化加载速度
|
||||||
```
|
```
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
23
static/echart/dist/echarts.min.js
vendored
23
static/echart/dist/echarts.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
@ -1,6 +1 @@
|
|||||||
;function lst_contains(arr,obj){let i=arr.length;while(i--){if(arr[i]===obj){return true}}return false}function ds_transform(dataset){let seted=[];for(let i=0;i<dataset[1].length;i++){seted[i]=[]}for(i=0;i<dataset.length;i++){for(let j=0;j<dataset[i].length;j++){seted[j][i]=dataset[i][j]}}return seted}function ds_split(data,sep=',',head_add=[]){let dataset=[];if(head_add){dataset.push(head_add.concat(data[0].slice(1)))}else{dataset.push(data[0][0].split(sep).concat(data[0].slice(1)))}for(let i=1;i<data.length;i++){dataset.push(data[i][0].split(sep).concat(data[i].slice(1)))}return dataset}function ds_rowname(dataset,start_row=1){let seted=[];for(let i=start_row;i<dataset.length;i++){seted[i-start_row]=dataset[i][0]}return seted}function ds_remove_column(dataset,remove_list=[0]){let seted=[];for(let i=0;i<dataset.length;i++){seted[i]=[]}for(i=0;i<dataset.length;i++){let k=0;for(let j=0;j<dataset[i].length;j++){if(lst_contains(remove_list,j)===false){seted[i][k]=dataset[i][j];k=k+1}}}return seted}function ds_createMap(data){let map={};for(let i=0;i<data.length;i++){let t1=[];for(let j=1;j<data[i].length;j++){t1.push(data[i][j])}if(data[i][0].length>0){map[data[i][0]]=t1}else{map['0']=t1}}return map}function ds_createMap_all(data){let dataset=[];let tmpmap={};for(let i=1;i<data.length;i++){tmpmap={};for(let j=0;j<data[i].length;j++){tmpmap[data[0][j]]=data[i][j]}dataset.push(tmpmap)}return dataset}function ds_fontSize(res){let docEl=document.documentElement;let clientWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;if(!clientWidth)return;let fontSize=100*(clientWidth/1920);return res*fontSize}function addWaterMarker(str){let can=document.createElement('canvas');let body=document.body;body.appendChild(can);can.width=400;can.height=200;can.style.display='none';let cans=can.getContext('2d');cans.rotate(-20*Math.PI/180);cans.font="16px Microsoft JhengHei";cans.fillStyle="rgba(17, 17, 17, 0.50)";cans.textAlign='left';cans.textBaseline='Middle';cans.fillText(str,can.width/3,can.height/2);body.style.backgroundImage="url("+can.toDataURL("image/png")+")"}function ds_getUpdown(param,num=0){let colorUp="green";let colorDown="red";if(num>0){colorUp="red";colorDown="green"}if(param>0){return'<span style="color:'+colorUp+'">'+param+'<span style="color:'+colorUp+'" class="glyphicon glyphicon-arrow-up"></span></span>'}else{return'<span style="color:'+colorDown+'">'+param+'<span style="color:'+colorDown+'" class="glyphicon glyphicon-arrow-down"></span></span>'}}function ds_toThousands(num){num=(num||0).toString(),result='';let flag=num<0?"-":"";let data=(Math.abs(num)+"").split('\.');num=data[0];while(num.length>3){result=','+num.slice(-3)+result;num=num.slice(0,num.length-3)}if(num){result=num+result}if(data.length===1){return flag+result}return flag+result+'.'+data[1]}function ds_distinct(a,b=[]){let arr=a.concat(b);let result=[];let obj={};for(let i=0;i<arr.length;i++){if(!obj[arr[i]]){result.push(arr[i]);obj[arr[i]]=1}}return result}function ds_leftjoin(a,b,withhead=true,type=1){let c=[];let blank=[];let flag=false;let i=1;for(i=1;i<b[0].length;i++){blank.push(0)}if(withhead){c.push(a[0].concat(b[0].slice(1)));a=a.slice(1);b=b.slice(1)}a.forEach(function(val){flag=true;b.forEach(function(val2){if(val[0]===val2[0]){c.push(val.concat(val2.slice(1)));flag=false}});if(flag&&type){c.push(val.concat(blank))}});if(type===2){blank=[];for(i=1;i<a[0].length;i++){blank.push(0)}b.forEach(function(val2){flag=true;for(i=0;i<a.length;i++){if(a[i][0]===val2[0]){flag=false;break}}if(flag){c.push([val2[0]].concat(blank).concat(val2.slice(1)))}})}return c}function ds_crossjoin(a,b,withhead=true){return ds_leftjoin(a,b,withhead,0)}function ds_fulljoin(a,b,withhead=true){return ds_leftjoin(a,b,withhead,2)}function ds_union(a,b,withhead=true){let c=[];if(withhead){c=a.concat(b.slice(1))}else{c=a.concat(b)}return c}function getUndefined(param,defaultValue){if(!param){return defaultValue}return param}function ds_round(num,qty=2){return num.toFixed(qty)}function Decimal(str){return parseFloat(str)}function Mytime(){this.datetime=function(y,m,d,hh,mm,s,ss){hh=hh||0;mm=mm||0;s=s||0;ss=ss||0;return''+y+'-'+m+'-'+d};this.date=function(y,m,d,hh,mm,s,ss){hh=hh||0;mm=mm||0;s=s||0;ss=ss||0;return''+y+'-'+m+'-'+d}}var datetime=new Mytime;function startSelectAnimate(myChart,dataLen,interval=1000,showtip=1){let currentIndex=-1;setInterval(function(){myChart.dispatchAction({type:'downplay',seriesIndex:0,dataIndex:currentIndex});currentIndex=(currentIndex+1)%dataLen;myChart.dispatchAction({type:'highlight',seriesIndex:0,dataIndex:currentIndex});if(showtip){myChart.dispatchAction({type:'showTip',seriesIndex:0,dataIndex:currentIndex})}},interval)}function dismissChangeRelatedObjectPopup(win,objId,newRepr,newId){win.close();console.log(newId);location.reload()};
|
eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([4-9e-hln-rt-xzA-Z]|1\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('5 1f(z,P){4 i=z.9;1g(i--){7(z[i]===P){6 D}}6 Q}5 ds_transform(e){4 p=[];g(4 i=0;i<e[1].9;i++){p[i]=[]}g(i=0;i<e.9;i++){g(4 j=0;j<e[i].9;j++){p[j][i]=e[i][j]}}6 p}5 ds_split(8,13=\',\',14=[]){4 e=[];7(14){e.o(14.q(8[0].r(1)))}H{e.o(8[0][0].15(13).q(8[0].r(1)))}g(4 i=1;i<8.9;i++){e.o(8[i][0].15(13).q(8[i].r(1)))}6 e}5 ds_rowname(e,16=1){4 p=[];g(4 i=16;i<e.9;i++){p[i-16]=e[i][0]}6 p}5 ds_remove_column(e,1h=[0]){4 p=[];g(4 i=0;i<e.9;i++){p[i]=[]}g(i=0;i<e.9;i++){4 k=0;g(4 j=0;j<e[i].9;j++){7(1f(1h,j)===Q){p[i][k]=e[i][j];k=k+1}}}6 p}5 ds_createMap(8){4 U={};g(4 i=0;i<8.9;i++){4 V=[];g(4 j=1;j<8[i].9;j++){V.o(8[i][j])}7(8[i][0].9>0){U[8[i][0]]=V}H{U[\'0\']=V}}6 U}5 ds_createMap_all(8){4 e=[];4 W={};g(4 i=1;i<8.9;i++){W={};g(4 j=0;j<8[i].9;j++){W[8[0][j]]=8[i][j]}e.o(W)}6 e}5 ds_fontSize(1i){4 docEl=R.1j;4 S=window.innerWidth||R.1j.S||R.T.S;7(!S)6;4 1k=100*(S/1920);6 1i*1k}5 addWaterMarker(X){4 w=R.createElement(\'canvas\');4 T=R.T;T.appendChild(w);w.1l=400;w.1m=200;w.I.display=\'none\';4 E=w.getContext(\'2d\');E.rotate(-20*1n.PI/180);E.font="16px Microsoft JhengHei";E.fillStyle="rgba(17, 17, 17, 0.50)";E.textAlign=\'left\';E.textBaseline=\'Middle\';E.fillText(X,w.1l/3,w.1m/2);T.I.backgroundImage="url("+w.toDataURL("image/png")+")"}5 ds_getUpdown(F,f=0){4 Y="1o";4 Z="1p";7(f>0){Y="1p";Z="1o"}7(F>0){6\'<A I="10:\'+Y+\'">\'+F+\'<A I="10:\'+Y+\'" 1q="11 11-1r-up"></A></A>\'}H{6\'<A I="10:\'+Z+\'">\'+F+\'<A I="10:\'+Z+\'" 1q="11 11-1r-down"></A></A>\'}}5 ds_toThousands(f){f=(f||0).toString(),t=\'\';4 u=f<0?"-":"";4 8=(1n.abs(f)+"").15(\'\\.\');f=8[0];1g(f.9>3){t=\',\'+f.r(-3)+t;f=f.r(0,f.9-3)}7(f){t=f+t}7(8.9===1){6 u+t}6 u+t+\'.\'+8[1]}5 ds_distinct(a,b=[]){4 z=a.q(b);4 t=[];4 P={};g(4 i=0;i<z.9;i++){7(!P[z[i]]){t.o(z[i]);P[z[i]]=1}}6 t}5 18(a,b,B=D,x=1){4 c=[];4 J=[];4 u=Q;4 i=1;g(i=1;i<b[0].9;i++){J.o(0)}7(B){c.o(a[0].q(b[0].r(1)));a=a.r(1);b=b.r(1)}a.19(5(12){u=D;b.19(5(G){7(12[0]===G[0]){c.o(12.q(G.r(1)));u=Q}});7(u&&x){c.o(12.q(J))}});7(x===2){J=[];g(i=1;i<a[0].9;i++){J.o(0)}b.19(5(G){u=D;g(i=0;i<a.9;i++){7(a[i][0]===G[0]){u=Q;break}}7(u){c.o([G[0]].q(J).q(G.r(1)))}})}6 c}5 ds_crossjoin(a,b,B=D){6 18(a,b,B,0)}5 ds_fulljoin(a,b,B=D){6 18(a,b,B,2)}5 ds_union(a,b,B=D){4 c=[];7(B){c=a.q(b.r(1))}H{c=a.q(b)}6 c}5 1s(F,1t){7(!F){6 1t}6 F}5 ds_round(f,1u=2){6 f.toFixed(1u)}5 ds_param(1v){7("undefined"!=typeof 1w){6(1s(1w[1v],\'\'))}H{6\'\'}}5 Decimal(X){6 parseFloat(X)}5 1x(){1y.1z=5(y,m,d,K,L,s,M){K=K||0;L=L||0;s=s||0;M=M||0;6\'\'+y+\'-\'+m+\'-\'+d};1y.date=5(y,m,d,K,L,s,M){K=K||0;L=L||0;s=s||0;M=M||0;6\'\'+y+\'-\'+m+\'-\'+d}}1a 1z=new 1x;5 startSelectAnimate(v,1A,1B=1000,1C=1){4 N=-1;setInterval(5(){v.O({x:\'1b\',n:0,h:N});N=(N+1)%1A;v.O({x:\'1c\',n:0,h:N});7(1C){v.O({x:\'showTip\',n:0,h:N})}},1B)}5 dismissChangeRelatedObjectPopup(1D,objId,newRepr,1E){1D.close();console.log(1E);location.reload()}5 clickaction(v,l=\'\'){1F=`1a n${l}=-1;1a h${l}=-1;v.on(\'click\',5(C){v.O({x:\'1b\',n:n${l},h:h${l}});4 1d=\'1c\';7(n${l}===C.1e&&h${l}===C.h){n${l}=-1;h${l}=-1;1d=\'1b\'}H{n${l}=C.1e;h${l}=C.h}v.O({x:1d,n:C.1e,h:C.h})});v.on(\'mouseout\',5(C){7(n${l}>-1){v.O({x:"1c",n:n${l},h:h${l}})}});`;eval(1F)}',[],104,'||||let|function|return|if|data|length|||||dataset|num|for|dataIndex||||seq||seriesIndex|push|seted|concat|slice||result|flag|myChart|can|type||arr|span|withhead|params|true|cans|param|val2|else|style|blank|hh|mm|ss|currentIndex|dispatchAction|obj|false|document|clientWidth|body|map|t1|tmpmap|str|colorUp|colorDown|color|glyphicon|val|sep|head_add|split|start_row||ds_leftjoin|forEach|var|downplay|highlight|acttype|componentIndex|lst_contains|while|remove_list|res|documentElement|fontSize|width|height|Math|green|red|class|arrow|getUndefined|defaultValue|qty|name|filter_param|Mytime|this|datetime|dataLen|interval|showtip|win|newId|actionstr'.split('|'),0,{}))
|
||||||
function ds_param(name) {
|
|
||||||
if("undefined" != typeof filter_param){
|
|
||||||
return(getUndefined(filter_param[name],''))
|
|
||||||
} else {return ''}
|
|
||||||
}
|
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>你需要激活</title>
|
<title>激活与登记</title>
|
||||||
<meta name="keywords" content="你需要激活" />
|
<meta name="keywords" content="你需要激活" />
|
||||||
</head>
|
</head>
|
||||||
<link rel="stylesheet" media="all" href="/static/index/input.css">
|
<link rel="stylesheet" media="all" href="/static/index/input.css">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<html><head><title>大数据:{{title}}</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta http-equiv="X-UA-Compatible" content="IE=edge">{% block head %}{% endblock %}{{contentrefresh|safe}}<style type="text/css">
|
<html><head><title>smartchart:{{title}}</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta http-equiv="X-UA-Compatible" content="IE=edge">{% block head %}{% endblock %}{{contentrefresh|safe}}<style type="text/css">
|
||||||
.table th, .table td {
|
.table th, .table td {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@ -27,7 +27,7 @@ font-size:10px;
|
|||||||
{% if dv %}<script src="https://cdn.jsdelivr.net/npm/vue"></script><script src="https://unpkg.com/@jiaminghi/data-view/dist/datav.min.vue.js"></script>{% endif %}
|
{% if dv %}<script src="https://cdn.jsdelivr.net/npm/vue"></script><script src="https://unpkg.com/@jiaminghi/data-view/dist/datav.min.vue.js"></script>{% endif %}
|
||||||
{% block stylesheet %}{% endblock %}{{devhead|safe}}
|
{% block stylesheet %}{% endblock %}{{devhead|safe}}
|
||||||
{% block body %}{% endblock %}
|
{% block body %}{% endblock %}
|
||||||
</html><script src="/static/js/jquery-2.2.3.min.js"></script><script type="text/javascript" src="/static/echart/dist/echarts.min.js"></script><script type="text/javascript" src="/static/echart/dist/extension/echarts-wordcloud.min.js"></script><script src="/static/echart/dist/china.js"></script><script src="/static/js/fun.js"></script><script src="/static/echart/theme/{{theme}}"></script><script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
|
</html><script src="/static/js/jquery-2.2.3.min.js"></script><script type="text/javascript" src="/static/echart/dist/echarts.min.js"></script><script src="/static/echart/dist/china.js"></script><script src="/static/js/fun.js"></script><script src="/static/echart/theme/{{theme}}"></script><script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
|
||||||
{{footer|safe}}{% block javascript %}{% endblock %}
|
{{footer|safe}}{% block javascript %}{% endblock %}
|
||||||
<script>{% if dv %}var vapp = new Vue({el: '#vue_app', data: {d0:0,d1:0,d2:0,d3:0,d4:0,d5:0,d6:0,d7:0,d8:0,d9:0,d10:0,d11:0,d12:0,d13:0,d14:0,d15:0,d16:0}});{% endif %}var app = {};var charts = [];{{echart_main|safe}}window.onresize = function(){for(var i = 0; i < charts.length; i++){charts[i].resize();}};
|
<script>{% if dv %}var vapp = new Vue({el: '#vue_app', data: {d0:0,d1:0,d2:0,d3:0,d4:0,d5:0,d6:0,d7:0,d8:0,d9:0,d10:0,d11:0,d12:0,d13:0,d14:0,d15:0,d16:0}});{% endif %}var app = {};var charts = [];{{echart_main|safe}}window.onresize = function(){for(var i = 0; i < charts.length; i++){charts[i].resize();}};
|
||||||
$(function(){
|
$(function(){
|
||||||
@ -63,4 +63,4 @@ function exitFullscreen() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<!--powered by smartchart.cn,Designed by JohnYan mailto:84345999@qq.com, https://gitee.com/smartchart/django_smartchart you need keep this-->
|
<!--powered by smartchart.cn,Designed by JohnYan mailto:84345999@qq.com, https://gitee.com/smartchart/smartchart you need keep this-->
|
@ -8,7 +8,7 @@
|
|||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"/>
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"/>
|
||||||
<link rel="icon" type="image.png" href="/static/images/favicon.ico">
|
<link rel="icon" type="image.png" href="/static/images/favicon.ico">
|
||||||
<link rel="stylesheet" href="/static//bootstrap.min.css">
|
<link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="/static/editor/editor.css">
|
<link rel="stylesheet" href="/static/editor/editor.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -8,13 +8,12 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css">
|
<link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css">
|
||||||
<link rel="shortcut icon" href="/static/admin/smartui/img/logo.png">
|
<link rel="shortcut icon" href="/static/admin/smartui/img/logo.png">
|
||||||
<link rel="stylesheet" type="text/css" href="/static/echart/echartedit/main.css">
|
<link rel="stylesheet" type="text/css" href="/static/echart/echartedit/main.css">
|
||||||
<link rel="stylesheet" href="/static/admin/smartui/fontawesome-free-5.8.1-web/css/all.min.css">
|
|
||||||
<title>SmartChart Editor</title>
|
<title>SmartChart Editor</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.EC_DEMO_LANG = 'zh';
|
||||||
|
</script>
|
||||||
<script type="text/javascript" src="/static/echart/echartedit/ace.js"></script>
|
<script type="text/javascript" src="/static/echart/echartedit/ace.js"></script>
|
||||||
<script src="/static/echart/echartedit/mode-javascript.js"></script>
|
<script src="/static/echart/echartedit/mode-javascript.js"></script>
|
||||||
<script src="/static/echart/echartedit/text.js"></script>
|
|
||||||
<script src="/static/echart/echartedit/javascript.js"></script>
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -22,7 +21,7 @@
|
|||||||
<div id="main-container">
|
<div id="main-container">
|
||||||
<div id="code-container" style="width: 40%;">
|
<div id="code-container" style="width: 40%;">
|
||||||
<div id="control-panel">
|
<div id="control-panel">
|
||||||
<div id="code-info"><span class="code-info-time">07:54:08</span><span class="code-info-type-info">图表已生成, 54ms</span></div>
|
<div id="code-info"><span class="code-info-time"></span><span class="code-info-type-info"></span></div>
|
||||||
<div class="control-btn-panel">{{editormenu|safe}}
|
<div class="control-btn-panel">{{editormenu|safe}}
|
||||||
<a href="javascript:;" onclick="disposeAndRun()" class="btn btn-default btn-sm">运行</a></div>
|
<a href="javascript:;" onclick="disposeAndRun()" class="btn btn-default btn-sm">运行</a></div>
|
||||||
</div>
|
</div>
|
||||||
@ -70,7 +69,7 @@
|
|||||||
<div id="chart-panel" class="right-panel" _echarts_instance_="ec_1571702048137" style="-webkit-tap-highlight-color: transparent; user-select: none;">
|
<div id="chart-panel" class="right-panel" _echarts_instance_="ec_1571702048137" style="-webkit-tap-highlight-color: transparent; user-select: none;">
|
||||||
<div style="position: relative; overflow: hidden; width: 800px; height: 492px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;"><canvas data-zr-dom-id="zr_0" width="800" height="492" style="position: absolute; left: 0px; top: 0px; width: 800px; height: 492px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas></div>
|
<div style="position: relative; overflow: hidden; width: 800px; height: 492px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;"><canvas data-zr-dom-id="zr_0" width="800" height="492" style="position: absolute; left: 0px; top: 0px; width: 800px; height: 492px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="tool-panel"><div id="printlog"></div><button id="code-toggle-button" class="btn btn-sm">折叠</button>|<button id="save" class="btn btn-sm">保存</button>|<button class="btn btn-sm" onclick="javascript:history.back()">返回</button>|<button id="saveoutside" class="btn btn-sm">提交社区</button>
|
<div id="tool-panel"><div id="printlog"></div><a id="code-toggle-button" style="color: #1d2124; font-size: 16px;" href="#" class="glyphicon glyphicon-transfer"> </a><a id="save" style="color: #c0a16b; font-size: 16px;" href="#" class="glyphicon glyphicon-save">保存</a><a id="saveoutside" style="color: #856404; font-size: 16px;" href="#" class="glyphicon glyphicon-cloud-upload"></a>
|
||||||
<span><a href="https://www.smartchart.cn" target="_blank">© SmartChart.cn</a> </span>
|
<span><a href="https://www.smartchart.cn" target="_blank">© SmartChart.cn</a> </span>
|
||||||
<div id="theme"><a title="" class="default selected" data-original-title="default"><span></span></a><a title="" class="light" data-original-title="light"><span></span></a><a title="" class="dark" data-original-title="dark"><span></span></a></div></div>
|
<div id="theme"><a title="" class="default selected" data-original-title="default"><span></span></a><a title="" class="light" data-original-title="light"><span></span></a><a title="" class="dark" data-original-title="dark"><span></span></a></div></div>
|
||||||
</div>
|
</div>
|
||||||
@ -79,11 +78,10 @@
|
|||||||
<script type="text/javascript" src="/static/echart/dist/echarts.min.js"></script>
|
<script type="text/javascript" src="/static/echart/dist/echarts.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/echart/dist/china.js"></script>
|
<script type="text/javascript" src="/static/echart/dist/china.js"></script>
|
||||||
<script type="text/javascript" src="/static/echart/dist/world.js"></script>
|
<script type="text/javascript" src="/static/echart/dist/world.js"></script>
|
||||||
<script type="text/javascript" src="/static/echart/dist/extension/echarts-wordcloud.min.js"></script>
|
|
||||||
<script type="text/javascript" src="/static/echart/dist/extension/echarts-liquidfill.min.js"></script>
|
|
||||||
<script src="/static/js/fun.js"></script>
|
<script src="/static/js/fun.js"></script>
|
||||||
<script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
|
<script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/echart/echartedit/lodash.js"></script>
|
<script type="text/javascript" src="/static/echart/echartedit/lodash.js"></script>
|
||||||
|
<script type="text/javascript" src="/static/echart/echartedit/snippets/javascript.js"></script>
|
||||||
<script type="text/javascript" src="/static/echart/echartedit/ext-language_tools.js"></script>
|
<script type="text/javascript" src="/static/echart/echartedit/ext-language_tools.js"></script>
|
||||||
<script type="text/javascript" src="/static/echart/echartedit/editor_min.js"></script>
|
<script type="text/javascript" src="/static/echart/echartedit/editor_min.js"></script>
|
||||||
<script>{{chartinit|safe}}</script>
|
<script>{{chartinit|safe}}</script>
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
<body lang="zh-CN" class="reader-black-font" style="overflow-y: scroll;">
|
<body lang="zh-CN" class="reader-black-font" style="overflow-y: scroll;">
|
||||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation" id="smart_head">
|
<nav class="navbar navbar-default navbar-fixed-top" role="navigation" id="smart_head">
|
||||||
<div >
|
<div >
|
||||||
<a class="logo" href="https://gitee.com/smartchart/django_smartchart"><img src="/static/index/logo8.png" alt="smartchart logo"></a>
|
<a class="logo" href="https://gitee.com/smartchart/smartchart"><img src="/static/index/logo8.png" alt="smartchart logo"></a>
|
||||||
<div class="nav_end">
|
<div class="nav_end">
|
||||||
<span class="head_icon" id="devchange" onclick="reset_dev()"><small><i class="fas fa-user"></i>{{user}}</small></span>
|
<span class="head_icon" id="devchange" onclick="reset_dev()"><small><i class="fas fa-user"></i>{{user}}</small></span>
|
||||||
<a class="head_icon" href="/echart/init_db/" title="同步升级" ><small><i class="fab fa-jsfiddle"></i></small></a>
|
<a class="head_icon" href="/echart/init_db/" title="同步升级" ><small><i class="fab fa-jsfiddle"></i></small></a>
|
||||||
@ -70,7 +70,7 @@
|
|||||||
<div >
|
<div >
|
||||||
<div class="collapse navbar-collapse" id="menu">
|
<div class="collapse navbar-collapse" id="menu">
|
||||||
<ul class="nav navbar-nav"> <li class="tab active">
|
<ul class="nav navbar-nav"> <li class="tab active">
|
||||||
<a class="menu-text" href="/admin">DataLab</a>
|
<a class="menu-text" href="/admin">Admin</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="tab">
|
<li class="tab">
|
||||||
<a class="menu-text" href="https://www.smartchart.cn">SmartChart社区</a>
|
<a class="menu-text" href="https://www.smartchart.cn">SmartChart社区</a>
|
||||||
@ -104,6 +104,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!--<p>©powered by smartchart.cn,Designed by JohnYan mailto:84345999@qq.com, https://gitee.com/smartchart/django_smartchart</p>-->
|
<!--<p>©powered by smartchart.cn,Designed by JohnYan mailto:84345999@qq.com, https://gitee.com/smartchart/smartchart</p>-->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>你需要激活</title>
|
<title>激活与登记</title>
|
||||||
<meta name="keywords" content="你需要激活" />
|
<meta name="keywords" content="你需要激活" />
|
||||||
</head>
|
</head>
|
||||||
<link rel="stylesheet" media="all" href="/static/index/input.css">
|
<link rel="stylesheet" media="all" href="/static/index/input.css">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user