Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
VisualDL
提交
0431d40d
V
VisualDL
项目概览
PaddlePaddle
/
VisualDL
大约 2 年 前同步成功
通知
89
Star
4655
Fork
642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
5
Wiki
分析
仓库
DevOps
项目成员
Pages
V
VisualDL
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
5
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
0431d40d
编写于
1月 15, 2018
作者:
B
BingBlog
提交者:
GitHub
1月 15, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
frontend fix fitscreen, download (#149)
上级
1ec54d8d
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
13 addition
and
10 deletion
+13
-10
frontend/src/graph/Graph.san
frontend/src/graph/Graph.san
+13
-0
frontend/src/graph/ui/chart.san
frontend/src/graph/ui/chart.san
+0
-10
未找到文件。
frontend/src/graph/Graph.san
浏览文件 @
0431d40d
...
@@ -46,6 +46,19 @@ export default {
...
@@ -46,6 +46,19 @@ export default {
attached() {
attached() {
autoAdjustHeight();
autoAdjustHeight();
},
handleFitScreen() {
this.data.set('filtScreen', {
filtScreen: true
});
this.data.set('config.scale', 0.5);
},
handleDownload() {
this.data.set('download', {
filtScreen: true
});
}
}
};
};
...
...
frontend/src/graph/ui/chart.san
浏览文件 @
0431d40d
...
@@ -106,16 +106,6 @@ export default {
...
@@ -106,16 +106,6 @@ export default {
// enable inertial throwing
// enable inertial throwing
inertia: true,
inertia: true,
autoScroll: true,
autoScroll: true,
restrict: {
restriction: 'parent',
endOnly: true,
elementRect: {
top: 0,
left: 0,
bottom: 1,
right: 1
}
},
// call this function on every dragmove event
// call this function on every dragmove event
onmove(event) {
onmove(event) {
dragMovelHandler(event, (target, x, y) => {
dragMovelHandler(event, (target, x, y) => {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录