Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
bluefrankey
hqchart
提交
d58786dc
hqchart
项目概览
bluefrankey
/
hqchart
与 Fork 源项目一致
从无法访问的项目Fork
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
hqchart
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d58786dc
编写于
3月 11, 2019
作者:
J
jones
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ver 4987
上级
458631b0
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
242 addition
and
63 deletion
+242
-63
webhqchart.demo/demo/phone.html
webhqchart.demo/demo/phone.html
+15
-6
webhqchart.demo/demo/phone2.html
webhqchart.demo/demo/phone2.html
+1
-1
webhqchart.demo/jscommon/umychart.js
webhqchart.demo/jscommon/umychart.js
+113
-28
webhqchart/umychart.js
webhqchart/umychart.js
+113
-28
未找到文件。
webhqchart.demo/demo/phone.html
浏览文件 @
d58786dc
...
...
@@ -90,8 +90,17 @@
{
Type
:
'
历史K线图
'
,
Windows
:
aryIndex
,
//窗口指标
/*
Windows: [
{Index:"放心股-操盘BS点"},
{Index:"放心股-涨停吸筹区"},
{Index:"放心股-涨停多空线"},
{Index:"放心股-量能黄金点"},
], //窗口指标
*/
Symbol
:
symbol
,
IsAutoUpate
:
true
,
//是自动更新数据
IsAutoUpdate
:
true
,
//是自动更新数据
//TradeIndex: {Index:'交易系统-BIAS'}, //交易系统
IsShowRightMenu
:
true
,
//右键菜单
IsShowCorssCursorInfo
:
true
,
//是否显示十字光标的刻度信息
...
...
@@ -105,7 +114,7 @@
PageSize
:
50
,
//一屏显示多少数据
IndexTreeApiUrl
:
"
https://opensourcecache.zealink.com/cache/hqh5/index/commonindextree.json
"
,
//指标树下载地址
//Info:["互动易","大宗交易",'龙虎榜',"调研","业绩预告","公告"], //信息地雷
Info
:[
"
公告
"
,
"
互动易
"
,
"
调研
"
],
//信息地雷
//
Info:["公告","互动易","调研"], //信息地雷
KLineDoubleClick
:
true
,
//双击分钟走势图
IsShowTooltip
:
true
//是否显示K线提示信息
},
...
...
@@ -118,7 +127,7 @@
Border
:
//边框
{
Left
:
8
0
,
//左边间距
Left
:
5
0
,
//左边间距
Right
:
80
+
40
,
//右边间距
Bottom
:
50
,
Top
:
25
...
...
@@ -131,9 +140,9 @@
Frame
:
//子框架设置 (Height 窗口高度比例值)
[
{
SplitCount
:
3
,
StringFormat
:
0
,
Height
:
4
,
IsShowLeftText
:
fals
e
},
{
SplitCount
:
2
,
StringFormat
:
0
,
Height
:
3
,
IsShowLeftText
:
fals
e
},
{
SplitCount
:
2
,
StringFormat
:
0
,
Height
:
3
,
IsShowLeftText
:
fals
e
}
{
SplitCount
:
3
,
StringFormat
:
0
,
Height
:
4
,
IsShowLeftText
:
tru
e
},
{
SplitCount
:
2
,
StringFormat
:
0
,
Height
:
3
,
IsShowLeftText
:
tru
e
},
{
SplitCount
:
2
,
StringFormat
:
0
,
Height
:
3
,
IsShowLeftText
:
tru
e
}
]
}
...
...
webhqchart.demo/demo/phone2.html
浏览文件 @
d58786dc
...
...
@@ -61,7 +61,7 @@
Type
:
'
分钟走势图
'
,
Windows
:
aryIndex
,
//窗口指标
Symbol
:
symbol
,
//股票代码
IsAutoUpate
:
true
,
//是自动更新数据
IsAutoUp
d
ate
:
true
,
//是自动更新数据
IsShowCorssCursorInfo
:
true
,
//是否显示十字光标的刻度信息
DayCount
:
1
,
//1 最新交易日数据 >1 多日走势图
...
...
webhqchart.demo/jscommon/umychart.js
浏览文件 @
d58786dc
...
...
@@ -614,7 +614,7 @@ function JSChart(divElement)
if (!chart) return false;
//是否自动更新
if(option.IsAutoUp
ate!=null) chart.IsAutoUpate=option.IsAutoUp
ate;
if(option.IsAutoUp
date!=null) chart.IsAutoUpdate=option.IsAutoUpd
ate;
//设置股票代码
if (!option.Symbol) return false;
...
...
@@ -10293,6 +10293,7 @@ function FrameSplitY()
this.newMethod();
delete this.newMethod;
this.SplitCount=3; //刻度个数
this.FloatPrecision = 2; //坐标小数位数(默认2)
this.FLOATPRECISION_RANGE=[1,0.1,0.01,0.001,0.0001];
...
...
@@ -15703,6 +15704,10 @@ function KLineChartContainer(uielement)
this.ScriptErrorCallback; //脚本执行错误回调
this.FlowCapitalReady=false; //流通股本是否下载完成
//自动更新设置
this.IsAutoUpdate=false; //是否自动更新行情数据
this.AutoUpdateFrequency=30000; //30秒更新一次数据
//this.KLineApiUrl="http://opensource.zealink.com/API/KLine2"; //历史K线api地址
this.KLineApiUrl=g_JSChartResource.Domain+"/API/KLine2"; //历史K线api地址
this.MinuteKLineApiUrl=g_JSChartResource.Domain+'/API/KLine3'; //历史分钟数据
...
...
@@ -16053,6 +16058,7 @@ function KLineChartContainer(uielement)
{
self.ChartSplashPaint.IsEnableSplash = false;
self.RecvHistoryData(data);
self.AutoUpdate();
}
});
}
...
...
@@ -16236,6 +16242,7 @@ function KLineChartContainer(uielement)
success: function (data)
{
self.RecvRealtimeData(data);
self.AutoUpdate();
}
});
}
...
...
@@ -16243,18 +16250,52 @@ function KLineChartContainer(uielement)
this.RecvRealtimeData=function(data)
{
var realtimeData=KLineChartContainer.JsonDataToRealtimeData(data);
if (this.Symbol==data.symbol)
if (this.Symbol!=data.symbol) return;
if (this.SourceData.Data[this.SourceData.Data.length-1].Date=!realtimeData.Date) return;
//实时行情数据更新
var item =this.SourceData.Data[this.SourceData.Data.length-1];
item.Close=realtimeData.Close;
item.High=realtimeData.High;
item.Low=realtimeData.Low;
item.Vol=realtimeData.Vol;
item.Amount=realtimeData.Amount;
var bindData=new ChartData();
bindData.Data=this.SourceData.Data;
bindData.Period=this.Period;
bindData.Right=this.Right;
bindData.DataType=this.SourceData.DataType;
if (bindData.Right>0 && bindData.Period<=3) //复权(日线数据才复权)
{
if (this.SourceData.Data[this.SourceData.Data.length-1].Date==realtimeData.Date) //实时行情数据更新
{
var item =this.SourceData.Data[this.SourceData.Data.length-1];
item.Close=realtimeData.Close;
item.High=realtimeData.High;
item.Low=realtimeData.Low;
item.Vol=realtimeData.Vol;
item.Amount=realtimeData.Amount;
}
var rightData=bindData.GetRightDate(bindData.Right);
bindData.Data=rightData;
}
if (bindData.Period>0 && bindData.Period!=4) //周期数据 (0= 日线,4=1分钟线 不需要处理)
{
var periodData=bindData.GetPeriodData(bindData.Period);
bindData.Data=periodData;
}
//绑定数据
this.BindMainData(bindData,this.PageSize);
this.BindInstructionIndexData(bindData); //执行指示脚本
for(var i=0; i<this.Frame.SubFrame.length; ++i)
{
this.BindIndexData(i,bindData);
}
//刷新画图
this.UpdataDataoffset(); //更新数据偏移
this.UpdatePointByCursorIndex(); //更新十字光标位子
this.UpdateFrameMaxMin(); //调整坐标最大 最小值
this.Frame.SetSizeChage(true);
this.Draw();
}
//周期切换
...
...
@@ -17587,7 +17628,7 @@ function KLineChartContainer(uielement)
this.OnSelectChartPicture=function(chart)
{
console.log('[KLineChartContainer::OnSelectChartPicture',chart);
if (!this.ChartPictureMenu) this.ChartPictureMenu=new ChartPictureSettingMenu(this.
DivElement
);
if (!this.ChartPictureMenu) this.ChartPictureMenu=new ChartPictureSettingMenu(this.
UIElement.parentNode
);
var event={ data: { ChartPicture:chart, HQChart:this}};
this.ChartPictureMenu.DoModal(event);
...
...
@@ -17598,6 +17639,46 @@ function KLineChartContainer(uielement)
// console.log(data);
//}
//数据自动更新
this.AutoUpdate=function()
{
if (!this.IsAutoUpdate) return;
var self = this;
//9:30 - 15:40 非周6,日 每隔30秒更新一次 this.RequestMinuteData();
var nowDate= new Date(),
day = nowDate.getDay(),
time = nowDate.getHours() * 100 + nowDate.getMinutes();
if(day == 6 || day== 0) return ;
if(time>1540) return ;
var frequency=this.AutoUpdateFrequency;
if(time <930)
{
setTimeout(function()
{
self.AutoUpdate();
},frequency);
}else
{
setTimeout(function()
{
if (self.Period<=3)
{
self.ReqeustRealtimeData(); //更新最新行情
//self.ReqeustKLineInfoData();
}
else
{
self.ReqeustHistoryMinuteData(); //请求分钟数据
}
},frequency);
}
}
}
//API 返回数据 转化为array[]
...
...
@@ -17719,7 +17800,8 @@ function MinuteChartContainer(uielement)
this.Name;
this.SourceData; //原始的历史数据
this.OverlaySourceData; //叠加的原始数据
this.IsAutoUpate=false; //是否自动更新行情数据
this.IsAutoUpdate=true; //是否自动更新行情数据
this.AutoUpdateFrequency=30000; //30秒更新一次数据
this.TradeDate=0; //行情交易日期
this.DayCount=1; //显示几天的数据
this.DayData; //多日分钟数据
...
...
@@ -18172,7 +18254,7 @@ function MinuteChartContainer(uielement)
this.RequestOverlayHistoryMinuteData();
this.AutoUpdat
a
();
this.AutoUpdat
e
();
}
this.UpdateHistoryMinuteUI=function()
...
...
@@ -18292,7 +18374,7 @@ function MinuteChartContainer(uielement)
this.UpdateLatestMinuteData(aryMinuteData,data.stock[0].date);
this.UpdateHistoryMinuteUI();
this.RequestOverlayMinuteData(); //请求叠加数据 (主数据下载完再下载)
this.AutoUpdat
a
();
this.AutoUpdat
e
();
return;
}
...
...
@@ -18340,7 +18422,7 @@ function MinuteChartContainer(uielement)
this.Frame.SetSizeChage(true);
this.Draw();
this.AutoUpdat
a
();
this.AutoUpdat
e
();
}
//请求叠加数据 (主数据下载完再下载))
...
...
@@ -18490,11 +18572,11 @@ function MinuteChartContainer(uielement)
}
//数据自动更新
this.AutoUpdat
a
=function()
this.AutoUpdat
e
=function()
{
var self = this;
if (!this.IsAutoUpate) return;
if (!this.IsAutoUp
d
ate) return;
//9:30 - 15:40 非周6,日 每隔30秒更新一次 this.RequestMinuteData();
var nowDate= new Date(),
...
...
@@ -18505,14 +18587,15 @@ function MinuteChartContainer(uielement)
if(time>1540) return ;
var frequency=this.AutoUpdateFrequency;
if(time <930){
setTimeout(function(){
self.AutoUpdat
a
();
},
30000
);
self.AutoUpdat
e
();
},
frequency
);
}else{
setTimeout(function(){
self.RequestMinuteData();
},
30000
);
},
frequency
);
}
}
...
...
@@ -22915,7 +22998,7 @@ function MinuteDialog(divElement)
{
Type:'历史分钟走势图',
Symbol:this.Symbol, //股票代码
IsAutoUpate:false, //是自动更新数据
IsAutoUp
d
ate:false, //是自动更新数据
IsShowRightMenu:false, //右键菜单
HistoryMinute: { TradeDate:this.TradeDate, IsShowName:false, IsShowDate:false } //显示的交易日期
...
...
@@ -24244,11 +24327,13 @@ function ChartPictureSettingMenu(divElement)
var $body;
if (!this.SubToolsDiv)
{
this.ID=Guid();
var div=document.createElement("div");
div.className='subTolls';
div.id=this.ID;
$body = $("."+event.data.HQChart.ClassName).context.body;
$body.append(div);
this.DivElement.appendChild(div);
//$body = $("."+event.data.HQChart.ClassName).context.body;
//$body.append(div);
this.SubToolsDiv=div;
}
this.HQChart=event.data.HQChart;
...
...
@@ -24264,16 +24349,16 @@ function ChartPictureSettingMenu(divElement)
var toolsDiv = "";
if(className === 'ChartDrawPictureText'){
toolsDiv = '<span class="changes-color" title="改变图形颜色">'+
'<i
mage class="change-image" src="content/image/change-color.png"></image>'
+
'<i
class="iconfont icon-bianji"></i>'
+
'<input type="color" name="color" id="color" class="change-color" value="'+ this.ChartPicture.LineColor +'">'+
'</span>\n' +
'<span class="subtool-set" title="设置"><i class="iconfont icon-shezhi"></i></span>'+
'<span class="subtool-del"><i
mage src="content/image/del-single.png" title="单个图形删除"></image
></span>';
'<span class="subtool-del"><i
class="iconfont icon-recycle_bin"></i
></span>';
}else{
toolsDiv =
'<span class="changes-color" title="改变图形颜色"><i
mage class="change-image" src="content/image/change-color.png"></image
>' +
'<span class="changes-color" title="改变图形颜色"><i
class="iconfont icon-bianji"></i
>' +
'<input type="color" name="color" id="color" class="change-color" value="'+ this.ChartPicture.LineColor +'"></span>\n' +
' <span class="subtool-del"><i
mage src="content/image/del-single.png" title="单个图形删除"></image
></span>';
' <span class="subtool-del"><i
class="iconfont icon-recycle_bin"></i
></span>';
}
this.SubToolsDiv.style.right = right + "px";
...
...
webhqchart/umychart.js
浏览文件 @
d58786dc
...
...
@@ -614,7 +614,7 @@ function JSChart(divElement)
if (!chart) return false;
//是否自动更新
if(option.IsAutoUp
ate!=null) chart.IsAutoUpate=option.IsAutoUp
ate;
if(option.IsAutoUp
date!=null) chart.IsAutoUpdate=option.IsAutoUpd
ate;
//设置股票代码
if (!option.Symbol) return false;
...
...
@@ -10293,6 +10293,7 @@ function FrameSplitY()
this.newMethod();
delete this.newMethod;
this.SplitCount=3; //刻度个数
this.FloatPrecision = 2; //坐标小数位数(默认2)
this.FLOATPRECISION_RANGE=[1,0.1,0.01,0.001,0.0001];
...
...
@@ -15703,6 +15704,10 @@ function KLineChartContainer(uielement)
this.ScriptErrorCallback; //脚本执行错误回调
this.FlowCapitalReady=false; //流通股本是否下载完成
//自动更新设置
this.IsAutoUpdate=false; //是否自动更新行情数据
this.AutoUpdateFrequency=30000; //30秒更新一次数据
//this.KLineApiUrl="http://opensource.zealink.com/API/KLine2"; //历史K线api地址
this.KLineApiUrl=g_JSChartResource.Domain+"/API/KLine2"; //历史K线api地址
this.MinuteKLineApiUrl=g_JSChartResource.Domain+'/API/KLine3'; //历史分钟数据
...
...
@@ -16053,6 +16058,7 @@ function KLineChartContainer(uielement)
{
self.ChartSplashPaint.IsEnableSplash = false;
self.RecvHistoryData(data);
self.AutoUpdate();
}
});
}
...
...
@@ -16236,6 +16242,7 @@ function KLineChartContainer(uielement)
success: function (data)
{
self.RecvRealtimeData(data);
self.AutoUpdate();
}
});
}
...
...
@@ -16243,18 +16250,52 @@ function KLineChartContainer(uielement)
this.RecvRealtimeData=function(data)
{
var realtimeData=KLineChartContainer.JsonDataToRealtimeData(data);
if (this.Symbol==data.symbol)
if (this.Symbol!=data.symbol) return;
if (this.SourceData.Data[this.SourceData.Data.length-1].Date=!realtimeData.Date) return;
//实时行情数据更新
var item =this.SourceData.Data[this.SourceData.Data.length-1];
item.Close=realtimeData.Close;
item.High=realtimeData.High;
item.Low=realtimeData.Low;
item.Vol=realtimeData.Vol;
item.Amount=realtimeData.Amount;
var bindData=new ChartData();
bindData.Data=this.SourceData.Data;
bindData.Period=this.Period;
bindData.Right=this.Right;
bindData.DataType=this.SourceData.DataType;
if (bindData.Right>0 && bindData.Period<=3) //复权(日线数据才复权)
{
if (this.SourceData.Data[this.SourceData.Data.length-1].Date==realtimeData.Date) //实时行情数据更新
{
var item =this.SourceData.Data[this.SourceData.Data.length-1];
item.Close=realtimeData.Close;
item.High=realtimeData.High;
item.Low=realtimeData.Low;
item.Vol=realtimeData.Vol;
item.Amount=realtimeData.Amount;
}
var rightData=bindData.GetRightDate(bindData.Right);
bindData.Data=rightData;
}
if (bindData.Period>0 && bindData.Period!=4) //周期数据 (0= 日线,4=1分钟线 不需要处理)
{
var periodData=bindData.GetPeriodData(bindData.Period);
bindData.Data=periodData;
}
//绑定数据
this.BindMainData(bindData,this.PageSize);
this.BindInstructionIndexData(bindData); //执行指示脚本
for(var i=0; i<this.Frame.SubFrame.length; ++i)
{
this.BindIndexData(i,bindData);
}
//刷新画图
this.UpdataDataoffset(); //更新数据偏移
this.UpdatePointByCursorIndex(); //更新十字光标位子
this.UpdateFrameMaxMin(); //调整坐标最大 最小值
this.Frame.SetSizeChage(true);
this.Draw();
}
//周期切换
...
...
@@ -17587,7 +17628,7 @@ function KLineChartContainer(uielement)
this.OnSelectChartPicture=function(chart)
{
console.log('[KLineChartContainer::OnSelectChartPicture',chart);
if (!this.ChartPictureMenu) this.ChartPictureMenu=new ChartPictureSettingMenu(this.
DivElement
);
if (!this.ChartPictureMenu) this.ChartPictureMenu=new ChartPictureSettingMenu(this.
UIElement.parentNode
);
var event={ data: { ChartPicture:chart, HQChart:this}};
this.ChartPictureMenu.DoModal(event);
...
...
@@ -17598,6 +17639,46 @@ function KLineChartContainer(uielement)
// console.log(data);
//}
//数据自动更新
this.AutoUpdate=function()
{
if (!this.IsAutoUpdate) return;
var self = this;
//9:30 - 15:40 非周6,日 每隔30秒更新一次 this.RequestMinuteData();
var nowDate= new Date(),
day = nowDate.getDay(),
time = nowDate.getHours() * 100 + nowDate.getMinutes();
if(day == 6 || day== 0) return ;
if(time>1540) return ;
var frequency=this.AutoUpdateFrequency;
if(time <930)
{
setTimeout(function()
{
self.AutoUpdate();
},frequency);
}else
{
setTimeout(function()
{
if (self.Period<=3)
{
self.ReqeustRealtimeData(); //更新最新行情
//self.ReqeustKLineInfoData();
}
else
{
self.ReqeustHistoryMinuteData(); //请求分钟数据
}
},frequency);
}
}
}
//API 返回数据 转化为array[]
...
...
@@ -17719,7 +17800,8 @@ function MinuteChartContainer(uielement)
this.Name;
this.SourceData; //原始的历史数据
this.OverlaySourceData; //叠加的原始数据
this.IsAutoUpate=false; //是否自动更新行情数据
this.IsAutoUpdate=true; //是否自动更新行情数据
this.AutoUpdateFrequency=30000; //30秒更新一次数据
this.TradeDate=0; //行情交易日期
this.DayCount=1; //显示几天的数据
this.DayData; //多日分钟数据
...
...
@@ -18172,7 +18254,7 @@ function MinuteChartContainer(uielement)
this.RequestOverlayHistoryMinuteData();
this.AutoUpdat
a
();
this.AutoUpdat
e
();
}
this.UpdateHistoryMinuteUI=function()
...
...
@@ -18292,7 +18374,7 @@ function MinuteChartContainer(uielement)
this.UpdateLatestMinuteData(aryMinuteData,data.stock[0].date);
this.UpdateHistoryMinuteUI();
this.RequestOverlayMinuteData(); //请求叠加数据 (主数据下载完再下载)
this.AutoUpdat
a
();
this.AutoUpdat
e
();
return;
}
...
...
@@ -18340,7 +18422,7 @@ function MinuteChartContainer(uielement)
this.Frame.SetSizeChage(true);
this.Draw();
this.AutoUpdat
a
();
this.AutoUpdat
e
();
}
//请求叠加数据 (主数据下载完再下载))
...
...
@@ -18490,11 +18572,11 @@ function MinuteChartContainer(uielement)
}
//数据自动更新
this.AutoUpdat
a
=function()
this.AutoUpdat
e
=function()
{
var self = this;
if (!this.IsAutoUpate) return;
if (!this.IsAutoUp
d
ate) return;
//9:30 - 15:40 非周6,日 每隔30秒更新一次 this.RequestMinuteData();
var nowDate= new Date(),
...
...
@@ -18505,14 +18587,15 @@ function MinuteChartContainer(uielement)
if(time>1540) return ;
var frequency=this.AutoUpdateFrequency;
if(time <930){
setTimeout(function(){
self.AutoUpdat
a
();
},
30000
);
self.AutoUpdat
e
();
},
frequency
);
}else{
setTimeout(function(){
self.RequestMinuteData();
},
30000
);
},
frequency
);
}
}
...
...
@@ -22915,7 +22998,7 @@ function MinuteDialog(divElement)
{
Type:'历史分钟走势图',
Symbol:this.Symbol, //股票代码
IsAutoUpate:false, //是自动更新数据
IsAutoUp
d
ate:false, //是自动更新数据
IsShowRightMenu:false, //右键菜单
HistoryMinute: { TradeDate:this.TradeDate, IsShowName:false, IsShowDate:false } //显示的交易日期
...
...
@@ -24244,11 +24327,13 @@ function ChartPictureSettingMenu(divElement)
var $body;
if (!this.SubToolsDiv)
{
this.ID=Guid();
var div=document.createElement("div");
div.className='subTolls';
div.id=this.ID;
$body = $("."+event.data.HQChart.ClassName).context.body;
$body.append(div);
this.DivElement.appendChild(div);
//$body = $("."+event.data.HQChart.ClassName).context.body;
//$body.append(div);
this.SubToolsDiv=div;
}
this.HQChart=event.data.HQChart;
...
...
@@ -24264,16 +24349,16 @@ function ChartPictureSettingMenu(divElement)
var toolsDiv = "";
if(className === 'ChartDrawPictureText'){
toolsDiv = '<span class="changes-color" title="改变图形颜色">'+
'<i
mage class="change-image" src="content/image/change-color.png"></image>'
+
'<i
class="iconfont icon-bianji"></i>'
+
'<input type="color" name="color" id="color" class="change-color" value="'+ this.ChartPicture.LineColor +'">'+
'</span>\n' +
'<span class="subtool-set" title="设置"><i class="iconfont icon-shezhi"></i></span>'+
'<span class="subtool-del"><i
mage src="content/image/del-single.png" title="单个图形删除"></image
></span>';
'<span class="subtool-del"><i
class="iconfont icon-recycle_bin"></i
></span>';
}else{
toolsDiv =
'<span class="changes-color" title="改变图形颜色"><i
mage class="change-image" src="content/image/change-color.png"></image
>' +
'<span class="changes-color" title="改变图形颜色"><i
class="iconfont icon-bianji"></i
>' +
'<input type="color" name="color" id="color" class="change-color" value="'+ this.ChartPicture.LineColor +'"></span>\n' +
' <span class="subtool-del"><i
mage src="content/image/del-single.png" title="单个图形删除"></image
></span>';
' <span class="subtool-del"><i
class="iconfont icon-recycle_bin"></i
></span>';
}
this.SubToolsDiv.style.right = right + "px";
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录