From 0f5fdddfe4026ad23ba9198ceee3e0e4beda61ae Mon Sep 17 00:00:00 2001 From: Dennis Jin Date: Thu, 12 Feb 2015 18:17:52 +0100 Subject: [PATCH] Fix some typos in theme files --- doc/example/theme/helianthus.js | 16 ++++++++-------- doc/example/theme/infographic.js | 16 ++++++++-------- src/theme/infographic.js | 16 ++++++++-------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/doc/example/theme/helianthus.js b/doc/example/theme/helianthus.js index fe61d02de..f960f2d79 100644 --- a/doc/example/theme/helianthus.js +++ b/doc/example/theme/helianthus.js @@ -20,7 +20,7 @@ var theme = { color: '#E877A3' // 副标题文字颜色 } }, - + // 值域 dataRange: { x:'right', @@ -148,7 +148,7 @@ var theme = { symbolSize: 3 // 拐点图形大小 }, - + // K线图默认参数 k: { itemStyle: { @@ -163,10 +163,10 @@ var theme = { } } }, - + // 散点图默认参数 scatter: { - itemdStyle: { + itemStyle: { normal: { borderWidth:1, borderColor:'rgba(200,200,200,0.5)' @@ -211,7 +211,7 @@ var theme = { } } }, - + force : { itemStyle: { normal: { @@ -254,7 +254,7 @@ var theme = { axisLine: { // 坐标轴线 show: true, // 默认显示,属性show控制显示与否 lineStyle: { // 属性lineStyle控制线条样式 - color: [[0.2, '#44B7D3'],[0.8, '#6B6455'],[1, '#E42B6D']], + color: [[0.2, '#44B7D3'],[0.8, '#6B6455'],[1, '#E42B6D']], width: '40%' } }, @@ -297,11 +297,11 @@ var theme = { } } }, - + textStyle: { fontFamily: '微软雅黑, Arial, Verdana, sans-serif' } }; return theme; -}); \ No newline at end of file +}); diff --git a/doc/example/theme/infographic.js b/doc/example/theme/infographic.js index f6c3a9145..285267de8 100644 --- a/doc/example/theme/infographic.js +++ b/doc/example/theme/infographic.js @@ -15,7 +15,7 @@ var theme = { color: '#27727B' // 主标题文字颜色 } }, - + // 值域 dataRange: { x:'right', @@ -139,7 +139,7 @@ var theme = { symbol: 'circle', // 拐点图形类型 symbolSize: 3.5 // 拐点图形大小 }, - + // K线图默认参数 k: { itemStyle: { @@ -154,10 +154,10 @@ var theme = { } } }, - + // 散点图默认参数 scatter: { - itemdStyle: { + itemStyle: { normal: { borderWidth:1, borderColor:'rgba(200,200,200,0.5)' @@ -202,7 +202,7 @@ var theme = { } } }, - + force : { itemStyle: { normal: { @@ -244,7 +244,7 @@ var theme = { axisLine: { // 坐标轴线 show: true, // 默认显示,属性show控制显示与否 lineStyle: { // 属性lineStyle控制线条样式 - color: [[0.2, '#B5C334'],[0.8, '#27727B'],[1, '#C1232B']], + color: [[0.2, '#B5C334'],[0.8, '#27727B'],[1, '#C1232B']], width: '40%' } }, @@ -287,11 +287,11 @@ var theme = { } } }, - + textStyle: { fontFamily: '微软雅黑, Arial, Verdana, sans-serif' } }; return theme; -}); \ No newline at end of file +}); diff --git a/src/theme/infographic.js b/src/theme/infographic.js index f6c3a9145..285267de8 100644 --- a/src/theme/infographic.js +++ b/src/theme/infographic.js @@ -15,7 +15,7 @@ var theme = { color: '#27727B' // 主标题文字颜色 } }, - + // 值域 dataRange: { x:'right', @@ -139,7 +139,7 @@ var theme = { symbol: 'circle', // 拐点图形类型 symbolSize: 3.5 // 拐点图形大小 }, - + // K线图默认参数 k: { itemStyle: { @@ -154,10 +154,10 @@ var theme = { } } }, - + // 散点图默认参数 scatter: { - itemdStyle: { + itemStyle: { normal: { borderWidth:1, borderColor:'rgba(200,200,200,0.5)' @@ -202,7 +202,7 @@ var theme = { } } }, - + force : { itemStyle: { normal: { @@ -244,7 +244,7 @@ var theme = { axisLine: { // 坐标轴线 show: true, // 默认显示,属性show控制显示与否 lineStyle: { // 属性lineStyle控制线条样式 - color: [[0.2, '#B5C334'],[0.8, '#27727B'],[1, '#C1232B']], + color: [[0.2, '#B5C334'],[0.8, '#27727B'],[1, '#C1232B']], width: '40%' } }, @@ -287,11 +287,11 @@ var theme = { } } }, - + textStyle: { fontFamily: '微软雅黑, Arial, Verdana, sans-serif' } }; return theme; -}); \ No newline at end of file +}); -- GitLab