Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
bluefrankey
hqchart
提交
2e82d1e1
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,发现更多精彩内容 >>
提交
2e82d1e1
编写于
7月 12, 2019
作者:
J
jones
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ver 6257
上级
b4e14e10
变更
8
展开全部
隐藏空白更改
内联
并排
Showing
8 changed file
with
1133 addition
and
925 deletion
+1133
-925
vuehqchart/package.json
vuehqchart/package.json
+1
-1
vuehqchart/src/jscommon/umychart.js
vuehqchart/src/jscommon/umychart.js
+15
-2
vuehqchart/src/jscommon/umychart.resource/font/iconfont.css
vuehqchart/src/jscommon/umychart.resource/font/iconfont.css
+428
-424
vuehqchart/src/jscommon/umychart.vue.components/stockkline.demo.vue
.../src/jscommon/umychart.vue.components/stockkline.demo.vue
+14
-8
vuehqchart/src/jscommon/umychart.vue/umychart.vue.js
vuehqchart/src/jscommon/umychart.vue/umychart.vue.js
+217
-62
webhqchart.demo/jscommon/umychart.js
webhqchart.demo/jscommon/umychart.js
+15
-2
webhqchart.demo/jscommon/umychart.resource/font/iconfont.css
webhqchart.demo/jscommon/umychart.resource/font/iconfont.css
+428
-424
webhqchart/umychart.js
webhqchart/umychart.js
+15
-2
未找到文件。
vuehqchart/package.json
浏览文件 @
2e82d1e1
...
...
@@ -2,7 +2,7 @@
"name"
:
"hqchart"
,
"description"
:
"stock chart"
,
"author"
:
"jones2000"
,
"version"
:
"1.0.3
2
"
,
"version"
:
"1.0.3
3
"
,
"private"
:
false
,
"license"
:
"MIT"
,
"scripts"
:
{
...
...
vuehqchart/src/jscommon/umychart.js
浏览文件 @
2e82d1e1
...
...
@@ -903,6 +903,18 @@ function JSChart(divElement)
this.JSChartContainer.SetMainDataConotrl(dataControl);
}
this.AddOverlayIndex=function(windowIndex, indexName, identify)
{
if (this.JSChartContainer && typeof(this.JSChartContainer.AddOverlayIndex)=='function')
this.JSChartContainer.AddOverlayIndex(windowIndex, indexName,identify);
}
this.DeleteOverlayWindowsIndex=function(identify)
{
if (this.JSChartContainer && typeof(this.JSChartContainer.DeleteOverlayWindowsIndex)=='function')
this.JSChartContainer.DeleteOverlayWindowsIndex(identify);
}
//设置强制横屏
this.ForceLandscape=function(bForceLandscape)
{
...
...
@@ -18694,7 +18706,7 @@ function KLineChartContainer(uielement)
this.Draw();
}
this.AddOverlayIndex=function(windowIndex, indexName)
this.AddOverlayIndex=function(windowIndex, indexName
,identify
)
{
var overlay=this.CreateOverlayWindowsIndex(windowIndex, indexName);
if (!overlay) return;
...
...
@@ -18707,7 +18719,7 @@ function KLineChartContainer(uielement)
}
//创建一个叠加指标
this.CreateOverlayWindowsIndex=function(windowIndex, indexName)
this.CreateOverlayWindowsIndex=function(windowIndex, indexName
,identify
)
{
let scriptData = new JSIndexScript();
let indexInfo = scriptData.Get(indexName); //系统指标
...
...
@@ -18724,6 +18736,7 @@ function KLineChartContainer(uielement)
var subFrame=this.Frame.SubFrame[windowIndex];
subFrame.Interval=this.OverlayIndexFrameWidth;
var overlayFrame=new OverlayIndexItem();
if (identify) overlayFrame.Identify=identify; //由外部指定id
frame=new OverlayKLineFrame();
frame.Canvas=this.Canvas;
frame.MainFrame=subFrame.Frame;
...
...
vuehqchart/src/jscommon/umychart.resource/font/iconfont.css
浏览文件 @
2e82d1e1
此差异已折叠。
点击以展开。
vuehqchart/src/jscommon/umychart.vue.components/stockkline.demo.vue
浏览文件 @
2e82d1e1
...
...
@@ -6,7 +6,7 @@
<a
class=
"item"
v-for=
'(navItem,idx) in PeriodBar.Menu'
:key=
'idx'
:class=
'PeriodBar.Selected == idx ? "active":""'
href=
"javascript:;"
@
click=
'OnClickPeriodMenu(idx,$event)'
>
{{
navItem
}}
</a>
</div>
<div
class=
"catchImg"
@
click=
'GetChartImg'
>
照相
</div>
<div
class=
"catchImg"
@
click=
'GetChartImg'
>
<i
class=
"iconfont icon-camera"
></i>
</div>
</div>
<!-- 图形操作工具条 !-->
...
...
@@ -72,7 +72,7 @@
<div
class=
"dialogWrap"
>
<div
class=
"titleWrap"
>
<div
class=
"titleText"
>
图片url
</div>
<div
class=
"closeBtn"
@
click=
'HideImageLoadDialog'
><i
class=
'iconfont icon-close'
></i></div>
<div
class=
"closeBtn
Wrap
"
@
click=
'HideImageLoadDialog'
><i
class=
'iconfont icon-close'
></i></div>
</div>
<div
class=
"contentWrap"
>
<div
class=
"inputBox"
><input
id=
'imageLoadInput'
type=
"text"
v-model=
'ImageLodeUrl'
><button
class=
"copyBtn"
@
click=
'CopyUrl'
type=
"button"
>
复制
</button></div>
...
...
@@ -393,6 +393,7 @@ export default
{
ImageLodeUrl
:
''
,
ShowDialog
:
false
,
ImageLoadDomain
:
'
https://opensourcedownload.zealink.com
'
,
Symbol
:
'
600000.sh
'
,
ID
:
JSCommon
.
JSChart
.
CreateGuid
(),
topheight
:
0
,
...
...
@@ -571,13 +572,13 @@ export default
"
BucketName
"
:
"
downloadcache
"
,
"
Path
"
:
"
hqchart/hq_snapshot
"
};
var
apiUrl
=
'
//opensource.zealink.com/API/FileUploadForBase64
'
;
var
apiUrl
=
'
https:
//opensource.zealink.com/API/FileUploadForBase64
'
;
this
.
QueryApiData
(
apiUrl
,
queryStr
,
this
.
RecvImgLoadUrl
);
},
RecvImgLoadUrl
(
res
){
console
.
log
(
'
RecvImgLoadUrl:
'
,
res
);
var
url
=
res
.
url
;
this
.
ImageLodeUrl
=
url
;
var
path
=
res
.
relative
url
;
this
.
ImageLodeUrl
=
this
.
ImageLoadDomain
+
'
/
'
+
path
;
this
.
ShowImageLoadDialog
();
//显示对话框
},
ShowImageLoadDialog
(){
...
...
@@ -1305,7 +1306,7 @@ a
line-height
:
25px
;
}
.
closeBtn
{
.
Wrap
{
height
:
25px
;
line-height
:
25px
;
cursor
:
pointer
;
...
...
@@ -1440,10 +1441,15 @@ a
.periodbar
.catchImg
{
position
:
absolute
;
top
:
10
px
;
right
:
1
0px
;
top
:
7
px
;
right
:
2
0px
;
color
:
#fff
;
cursor
:
pointer
;
i
{
font-size
:
20px
;
color
:
#fff
;
}
}
.periodbar
.item
...
...
vuehqchart/src/jscommon/umychart.vue/umychart.vue.js
浏览文件 @
2e82d1e1
此差异已折叠。
点击以展开。
webhqchart.demo/jscommon/umychart.js
浏览文件 @
2e82d1e1
...
...
@@ -903,6 +903,18 @@ function JSChart(divElement)
this.JSChartContainer.SetMainDataConotrl(dataControl);
}
this.AddOverlayIndex=function(windowIndex, indexName, identify)
{
if (this.JSChartContainer && typeof(this.JSChartContainer.AddOverlayIndex)=='function')
this.JSChartContainer.AddOverlayIndex(windowIndex, indexName,identify);
}
this.DeleteOverlayWindowsIndex=function(identify)
{
if (this.JSChartContainer && typeof(this.JSChartContainer.DeleteOverlayWindowsIndex)=='function')
this.JSChartContainer.DeleteOverlayWindowsIndex(identify);
}
//设置强制横屏
this.ForceLandscape=function(bForceLandscape)
{
...
...
@@ -18694,7 +18706,7 @@ function KLineChartContainer(uielement)
this.Draw();
}
this.AddOverlayIndex=function(windowIndex, indexName)
this.AddOverlayIndex=function(windowIndex, indexName
,identify
)
{
var overlay=this.CreateOverlayWindowsIndex(windowIndex, indexName);
if (!overlay) return;
...
...
@@ -18707,7 +18719,7 @@ function KLineChartContainer(uielement)
}
//创建一个叠加指标
this.CreateOverlayWindowsIndex=function(windowIndex, indexName)
this.CreateOverlayWindowsIndex=function(windowIndex, indexName
,identify
)
{
let scriptData = new JSIndexScript();
let indexInfo = scriptData.Get(indexName); //系统指标
...
...
@@ -18724,6 +18736,7 @@ function KLineChartContainer(uielement)
var subFrame=this.Frame.SubFrame[windowIndex];
subFrame.Interval=this.OverlayIndexFrameWidth;
var overlayFrame=new OverlayIndexItem();
if (identify) overlayFrame.Identify=identify; //由外部指定id
frame=new OverlayKLineFrame();
frame.Canvas=this.Canvas;
frame.MainFrame=subFrame.Frame;
...
...
webhqchart.demo/jscommon/umychart.resource/font/iconfont.css
浏览文件 @
2e82d1e1
此差异已折叠。
点击以展开。
webhqchart/umychart.js
浏览文件 @
2e82d1e1
...
...
@@ -903,6 +903,18 @@ function JSChart(divElement)
this.JSChartContainer.SetMainDataConotrl(dataControl);
}
this.AddOverlayIndex=function(windowIndex, indexName, identify)
{
if (this.JSChartContainer && typeof(this.JSChartContainer.AddOverlayIndex)=='function')
this.JSChartContainer.AddOverlayIndex(windowIndex, indexName,identify);
}
this.DeleteOverlayWindowsIndex=function(identify)
{
if (this.JSChartContainer && typeof(this.JSChartContainer.DeleteOverlayWindowsIndex)=='function')
this.JSChartContainer.DeleteOverlayWindowsIndex(identify);
}
//设置强制横屏
this.ForceLandscape=function(bForceLandscape)
{
...
...
@@ -18694,7 +18706,7 @@ function KLineChartContainer(uielement)
this.Draw();
}
this.AddOverlayIndex=function(windowIndex, indexName)
this.AddOverlayIndex=function(windowIndex, indexName
,identify
)
{
var overlay=this.CreateOverlayWindowsIndex(windowIndex, indexName);
if (!overlay) return;
...
...
@@ -18707,7 +18719,7 @@ function KLineChartContainer(uielement)
}
//创建一个叠加指标
this.CreateOverlayWindowsIndex=function(windowIndex, indexName)
this.CreateOverlayWindowsIndex=function(windowIndex, indexName
,identify
)
{
let scriptData = new JSIndexScript();
let indexInfo = scriptData.Get(indexName); //系统指标
...
...
@@ -18724,6 +18736,7 @@ function KLineChartContainer(uielement)
var subFrame=this.Frame.SubFrame[windowIndex];
subFrame.Interval=this.OverlayIndexFrameWidth;
var overlayFrame=new OverlayIndexItem();
if (identify) overlayFrame.Identify=identify; //由外部指定id
frame=new OverlayKLineFrame();
frame.Canvas=this.Canvas;
frame.MainFrame=subFrame.Frame;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录