[GitHub] [echarts] echarts-bot[bot] commented on issue #15690: echart 配置项里 normal 属性的含义是什么?

2021-09-07 Thread GitBox


echarts-bot[bot] commented on issue #15690:
URL: https://github.com/apache/echarts/issues/15690#issuecomment-914962131






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] abitwhy opened a new issue #15690: echart 配置项里 normal 属性的含义是什么?

2021-09-07 Thread GitBox


abitwhy opened a new issue #15690:
URL: https://github.com/apache/echarts/issues/15690


   ### Version
   5.2.0
   
   ### Reproduction link
   
[https://echarts.apache.org/examples/zh/editor.html?c=line-stack](https://echarts.apache.org/examples/zh/editor.html?c=line-stack)
   
   ### Steps to reproduce
   设置如下配置
   ```js
   option = {
   xAxis: {
   type: 'category',
   data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   },
   yAxis: {
   type: 'value'
   },
   series: [{
   data: [150, 230, 224, 218, 135, 147, 260],
   type: 'line',
   itemStyle: {
   // 直接设置会失效
   lineStyle:{
   color:{
 colorStops: [{
 offset: 0, color: 'red' // 0% 处的颜色
 }, {
 offset: 1, color: 'blue' // 100% 处的颜色
 }],
   }
   },
   // 必须在 normal 中设置
   // normal: {
   // lineStyle:{
   // color:{
   //   colorStops: [{
   //   offset: 0, color: 'red' // 0% 处的颜色
   //   }, {
   //   offset: 1, color: 'blue' // 100% 处的颜色
   //   }],
   // }
   // },
   // },
   },
   }]
   };
   ```
   
   ### What is expected?
   折线有渐变效果
   
   ### What is actually happening?
   折线无渐变效果
   
   ---
   查阅文档,没有发现与有关 normal 相关的配置说明。你们推荐通过 
[Gallery](http://gallery.echartsjs.com/editor.html) 反馈配置项的问题 ,但该链接失效了,所以选择提交 
issue 来反馈此问题。
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] dignfei commented on issue #15680: 折线图使用visualMap时颜色错乱,颜色错位

2021-09-07 Thread GitBox


dignfei commented on issue #15680:
URL: https://github.com/apache/echarts/issues/15680#issuecomment-914951680


   > @dignfei 这个问题你解决了吗
   
   这个版本https://github.com/apache/echarts/tree/release-dev 修复了这个bug,直接下载源代码覆盖即可


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] branch fix-polar updated (75aac8c -> 97358af)

2021-09-07 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch fix-polar
in repository https://gitbox.apache.org/repos/asf/echarts.git.


from 75aac8c  fix(polar): fix when angleAxis is inverse
 add b362288  Merge pull request #15582 from apache/release-dev
 add 28f7c33  fix(tooltip): 1) tweak the calculation of tooltip offset to 
make it look not so near to the target element. #14393 2) remove unnecessary 
`getOuterSize` method beacuse `getSize` is now using `offsetWidth/offsetHeight` 
that contains the `borderWidth`.
 add d97f5bb  Merge pull request #15588 from apache/fix/tooltip-offset
 add 0043798  fix: add null condition.
 add 7890d0e  Merge pull request #15612 from apache/release-dev
 add 6083ce5  fix: fix lint.
 add 5fb2fab  Merge pull request #15618 from apache/release-dev
 add fd9bf4a  release 5.2.0
 add 41b7769  Merge pull request #15619 from apache/release-dev
 add 43b0da2  Merge pull request #15647 from apache/release
 add 6b488a8  chore: add nightly publish for next branch
 add 93164d9  Merge pull request #15655 from apache/publish-nightly-next
 add cffa380  fix(line): fix line chart animation #15581
 add ce461a6  Merge pull request #15599 from apache/fix-line-animation
 add f4ac290  Fix: time axis overlapped labels
 add ec9b3fc  Use tick level to determine the priority
 add 7d33cfb  Add comment to describe the fix
 add 319ac07  Use z2 instead of zlevel for priority
 add 563fc01  Use map and have a fallback z2 value
 add f46b404  Merge pull request #15583 from svedova/master
 add 42d08f7  chore: update stale action
 add f82379c  chore: test and run now
 add eea9770  chore: update test time
 add dc275b5  Merge pull request #15665 from apache/fix-stale
 add 2c1a4fb  chore: fix stale config
 add 71ddcca  Merge pull request #15666 from apache/fix-stale
 add b87a5db  chore: update stale action period
 add ea06e74  chore: fix gramma
 add eb42349  Merge pull request #15669 from apache/fix-stale
 add ef1d850  fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis 
if input string time format. fix #15675
 add babc67d  Merge pull request #15686 from apache/fix/dataset-perf
 add 061b500  Merge branch 'master' into fix-polar
 add 97358af  test(polar): update visual test

No new revisions were added by this update.

Summary of changes:
 .asf.yaml  |33 +
 .github/stale.yml  |60 -
 .../workflows/{nightly.yml => nightly-next.yml}|11 +-
 .github/workflows/stale.yml|28 +
 build/prepareNightly.js|44 +-
 dist/echarts.common.js | 12552 +++
 dist/echarts.common.js.map | 2 +-
 dist/echarts.common.min.js | 4 +-
 dist/echarts.esm.js| 36040 +-
 dist/echarts.esm.js.map| 2 +-
 dist/echarts.esm.min.js| 4 +-
 dist/echarts.js| 36041 ++-
 dist/echarts.js.map| 2 +-
 dist/echarts.min.js| 4 +-
 dist/echarts.simple.js | 11727 +++---
 dist/echarts.simple.js.map | 2 +-
 dist/echarts.simple.min.js | 4 +-
 package-lock.json  | 8 +-
 package.json   | 4 +-
 src/animation/morphTransitionHelper.ts | 2 +-
 src/animation/universalTransition.ts   | 4 +-
 src/chart/bar/BarView.ts   | 1 -
 src/chart/line/LineView.ts |15 +-
 src/component/axis/AxisBuilder.ts  |19 +-
 src/component/marker/MarkAreaView.ts   |42 +-
 src/component/marker/MarkLineView.ts   | 9 +-
 src/component/marker/MarkPointView.ts  |12 +-
 src/component/marker/markerHelper.ts   |35 +-
 src/component/tooltip/TooltipHTMLContent.ts|15 -
 src/component/tooltip/TooltipRichContent.ts| 8 -
 src/component/tooltip/TooltipView.ts   |16 +-
 src/coord/axisModelCommonMixin.ts  | 1 +
 src/coord/axisTickLabelBuilder.ts  | 2 +
 src/core/echarts.ts| 4 +-
 src/data/Graph.ts  | 1 +
 src/data/Tree.ts   | 3 +-
 src/label/installLabelLayout.ts|20 +
 src/label/labelLayoutHelper.ts | 8 +-
 src/label/labelStyle.ts| 4 +-
 src/label/sectorLabel.ts   

[GitHub] [echarts] echarts-bot[bot] commented on issue #15689: 提示导致拆线残留

2021-09-07 Thread GitBox


echarts-bot[bot] commented on issue #15689:
URL: https://github.com/apache/echarts/issues/15689#issuecomment-914932271






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] asyura opened a new issue #15689: 提示导致拆线残留

2021-09-07 Thread GitBox


asyura opened a new issue #15689:
URL: https://github.com/apache/echarts/issues/15689


   ### Version
   5.2.0
   
   ### Steps to reproduce
   https://www.makeapie.com/editor.html?c=x6MDE-Tpah&v=1
   
   ### What is expected?
   更新option后,能够刷新图表。
   
   ### What is actually happening?
   如果将 tooltip 的 trigger 设置为 
axis,并将鼠标移过拆线上后(即显示过tooltip),可以看到拆线会有残留(有一部分highlight变粗的线)一直留在图表上,然后再更新option(line数据有变化),新绘制图表上仍然有上次拆线的残留部分
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] branch improve-types updated: fix(type): more precise axis types

2021-09-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch improve-types
in repository https://gitbox.apache.org/repos/asf/echarts.git


The following commit(s) were added to refs/heads/improve-types by this push:
 new 754f676  fix(type): more precise axis types
754f676 is described below

commit 754f6765e63773ff4f4261cfd09a9b4c794a0a30
Author: pissang 
AuthorDate: Wed Sep 8 13:17:15 2021 +0800

fix(type): more precise axis types
---
 src/component/marker/MarkLineView.ts |   1 -
 src/coord/Axis.ts|   4 +-
 src/coord/AxisBaseModel.ts   |   6 +-
 src/coord/axisCommonTypes.ts | 141 +--
 src/coord/axisHelper.ts  |  18 +++--
 src/coord/axisModelCreator.ts|  14 ++--
 src/coord/cartesian/AxisModel.ts |  14 ++--
 src/coord/cartesian/Grid.ts  |   4 +-
 src/coord/parallel/AxisModel.ts  |   6 +-
 src/coord/parallel/Parallel.ts   |   5 +-
 src/coord/polar/AxisModel.ts |  12 ++-
 src/coord/polar/polarCreator.ts  |   5 +-
 src/coord/radar/RadarModel.ts|   9 ++-
 src/coord/scaleRawExtentInfo.ts  |   4 +-
 src/coord/single/AxisModel.ts|   6 +-
 src/coord/single/Single.ts   |   4 +-
 src/scale/Ordinal.ts |   4 +-
 17 files changed, 151 insertions(+), 106 deletions(-)

diff --git a/src/component/marker/MarkLineView.ts 
b/src/component/marker/MarkLineView.ts
index 212ce68..07335a1 100644
--- a/src/component/marker/MarkLineView.ts
+++ b/src/component/marker/MarkLineView.ts
@@ -41,7 +41,6 @@ import {
 logError,
 merge,
 map,
-defaults,
 curry,
 filter,
 HashMap
diff --git a/src/coord/Axis.ts b/src/coord/Axis.ts
index a2f3e0a..7a334a0 100644
--- a/src/coord/Axis.ts
+++ b/src/coord/Axis.ts
@@ -28,7 +28,7 @@ import Scale from '../scale/Scale';
 import { DimensionName, ScaleDataValue, ScaleTick } from '../util/types';
 import OrdinalScale from '../scale/Ordinal';
 import Model from '../model/Model';
-import { AxisBaseOption, OptionAxisType } from './axisCommonTypes';
+import { AxisBaseOption, CategoryAxisBaseOption, OptionAxisType } from 
'./axisCommonTypes';
 import { AxisBaseModel } from './AxisBaseModel';
 
 const NORMALIZED_EXTENT = [0, 1] as [number, number];
@@ -63,7 +63,7 @@ class Axis {
 
 // Injected outside
 model: AxisBaseModel;
-onBand: AxisBaseOption['boundaryGap'] = false;
+onBand: CategoryAxisBaseOption['boundaryGap'] = false;
 inverse: AxisBaseOption['inverse'] = false;
 
 
diff --git a/src/coord/AxisBaseModel.ts b/src/coord/AxisBaseModel.ts
index 18cd29a..9b482f0 100644
--- a/src/coord/AxisBaseModel.ts
+++ b/src/coord/AxisBaseModel.ts
@@ -20,16 +20,16 @@
 /**
  * Base Axis Model for xAxis, yAxis, angleAxis, radiusAxis. singleAxis
  */
-import { AxisBaseOption } from './axisCommonTypes';
+import { AxisBaseOptionCommon } from './axisCommonTypes';
 import ComponentModel from '../model/Component';
 import { AxisModelCommonMixin } from './axisModelCommonMixin';
 import { AxisModelExtendedInCreator } from './axisModelCreator';
 import Axis from './Axis';
 
-export interface AxisBaseModel
+export interface AxisBaseModel
 extends ComponentModel,
 AxisModelCommonMixin,
-AxisModelExtendedInCreator {
+AxisModelExtendedInCreator {
 
 axis: Axis
 }
\ No newline at end of file
diff --git a/src/coord/axisCommonTypes.ts b/src/coord/axisCommonTypes.ts
index 9d9bf11..3fe8999 100644
--- a/src/coord/axisCommonTypes.ts
+++ b/src/coord/axisCommonTypes.ts
@@ -20,16 +20,15 @@
 import {
 TextCommonOption, LineStyleOption, OrdinalRawValue, ZRColor,
 AreaStyleOption, ComponentOption, ColorString,
-AnimationOptionMixin, Dictionary, ScaleDataValue
+AnimationOptionMixin, Dictionary, ScaleDataValue, CommonAxisPointerOption
 } from '../util/types';
 
 
 export const AXIS_TYPES = {value: 1, category: 1, time: 1, log: 1} as const;
 export type OptionAxisType = keyof typeof AXIS_TYPES;
 
-
-export interface AxisBaseOption extends ComponentOption,
-AnimationOptionMixin {  // Support transition animation
+export interface AxisBaseOptionCommon extends ComponentOption,
+AnimationOptionMixin {
 type?: OptionAxisType;
 show?: boolean;
 // Inverse the axis.
@@ -55,21 +54,16 @@ export interface AxisBaseOption extends ComponentOption,
 show?: boolean;
 };
 
-axisPointer?: any; // FIXME:TS axisPointerOption type?
+axisLabel?: AxisLabelBaseOption;
+
+axisPointer?: CommonAxisPointerOption;
 axisLine?: AxisLineOption;
 axisTick?: AxisTickOption;
-axisLabel?: AxisLabelOption;
 minorTick?: MinorTickOption;
 splitLine?: SplitLineOption;
 minorSplitLine?: MinorSplitLineOption;
 splitArea?: SplitAreaOption;
 
-// The gap at both ends of the axis.
-// For category axis: boolean.
-// For value axis: [GAP, GAP], where
-// `GAP` can be an absolute pixel number (like `35`), or percent (like 

[GitHub] [echarts] little-sean edited a comment on issue #13446: fontSize中rem/em的设置失效

2021-09-07 Thread GitBox


little-sean edited a comment on issue #13446:
URL: https://github.com/apache/echarts/issues/13446#issuecomment-914854858


   > Yes, 5.0 supports `rem` and `em`, you can try it now.
   
   IE 11 not support rem 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] XXmushi opened a new issue #15688: Datazoom silder trend is wrong when data span is large

2021-09-07 Thread GitBox


XXmushi opened a new issue #15688:
URL: https://github.com/apache/echarts/issues/15688


   ### Version
   5.2.0
   
   ### Reproduction link
   
[https://codepen.io/xxmushi/pen/rNwjWbW](https://codepen.io/xxmushi/pen/rNwjWbW)
   
   ### Steps to reproduce
   
   ```javascript
 const POINT_COUNT = 1e3
 const data= new Float64Array((POINT_COUNT 1) * 2)
 let off = 0
 for (let j = 0; j < POINT_COUNT; j  ) {
   values[off  ] = j
   values[off  ] = Math.random() * 1000
 }
 data[off  ] = 1
 data[off  ] = 0
 const option = {
  dataZoom: [
{
   type: 'slider',
   id: 'slider',
   xAxisIndex: [0],
   dataBackground: {
  areaStyle: {
   color: 'rgba(128, 128, 128, 0)'
  }
  },
  fillerColor: 'rgba(128, 128, 128, 0)',
  borderColor: '#565656',
  moveHandleSize: 0,
  selectedDataBackground: {
  lineStyle: {
 color: '#f4f20b',
 width: 0.5
  },
  areaStyle: {
color: 'rgba(128, 128, 128, 0)'
}
  }
  }
 ],
..,
series: [
   {
   type: 'line',
   smooth: false,
   data,
   animation: false,
   showSymbol: false,
   dimensions: ['x', 'y'],
   itemStyle: {
   color: '#f4f20b'
   }
 }
]
  }
   
   ```
   The X-axis of Data jumps from 1000 to 1
   
   ![Image of 
echarts](https://raw.githubusercontent.com/XXmushi/test123a/master/echarts.jpg)
   
   ### What is expected?
   Datazoom silder don't filter the data when data span is larger
   
   ### What is actually happening?
   silder trend is wrong when data span is large
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on issue #15688: Datazoom silder trend is wrong when data span is large

2021-09-07 Thread GitBox


echarts-bot[bot] commented on issue #15688:
URL: https://github.com/apache/echarts/issues/15688#issuecomment-914880525


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that it contains **a minimum reproducible 
demo** and necessary **images** to illustrate. Otherwise, our committers will 
ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components 
as possible but can still illustrate your problem. This is the best way for us 
to reproduce it and solve the problem faster.
   
   You may also check out the [API](http://echarts.apache.org/api.html) and 
[chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org. Please 
attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe to our [mailing 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] little-sean removed a comment on issue #13446: fontSize中rem/em的设置失效

2021-09-07 Thread GitBox


little-sean removed a comment on issue #13446:
URL: https://github.com/apache/echarts/issues/13446#issuecomment-914854880


   > Yes, 5.0 supports `rem` and `em`, you can try it now.
   
   IE 11 not support rem and em


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] little-sean commented on issue #13446: fontSize中rem/em的设置失效

2021-09-07 Thread GitBox


little-sean commented on issue #13446:
URL: https://github.com/apache/echarts/issues/13446#issuecomment-914854858






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10466: Allow configuration of the lineWidth and radius of the loading shape

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10466:
URL: https://github.com/apache/echarts/issues/10466#issuecomment-914629733


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10468: tooltip option position support string such as 'top' when trigger is 'axis'

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10468:
URL: https://github.com/apache/echarts/issues/10468#issuecomment-914629749


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10464: Treemap: zooming on node freezes emphasis

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10464:
URL: https://github.com/apache/echarts/issues/10464#issuecomment-914629716


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10457: Add support for weighted graph & optimize parse of attributes in gexf.js tool

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10457:
URL: https://github.com/apache/echarts/issues/10457#issuecomment-914629689


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10425: 缩放时出现一条竖线

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10425:
URL: https://github.com/apache/echarts/issues/10425#issuecomment-914629627


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10414: Sunburst miniAngle didn't work at first render

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10414:
URL: https://github.com/apache/echarts/issues/10414#issuecomment-914629602


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10432: 曲线算法错误(smoothMonotone问题),曲线出现内钩

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10432:
URL: https://github.com/apache/echarts/issues/10432#issuecomment-914629655


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10460: 天津地图数据,缺失蓟州区

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10460:
URL: https://github.com/apache/echarts/issues/10460#issuecomment-914629705


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10431: 图例太多设置分页效果,监听lengendscroll事件,获取可利用数据

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10431:
URL: https://github.com/apache/echarts/issues/10431#issuecomment-914629644


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10450: Touch devices can't pan because edge is activated

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10450:
URL: https://github.com/apache/echarts/issues/10450#issuecomment-914629670


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10370: 选中toolbox中的某个icon,重新请求数据,该icon无法自动解除高亮状态

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10370:
URL: https://github.com/apache/echarts/issues/10370#issuecomment-914629522


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10389: DataZoom Slider Does Not Respect Y Axis min if positive value

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10389:
URL: https://github.com/apache/echarts/issues/10389#issuecomment-914629566


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10381: datazoom does not return start and end values

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10381:
URL: https://github.com/apache/echarts/issues/10381#issuecomment-914629549


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10374: The chart columns overflow the grid area for a stacked bar chart with logarithmic Y axis

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10374:
URL: https://github.com/apache/echarts/issues/10374#issuecomment-914629531


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10366: 移动端中饼图无法关闭选中模式

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10366:
URL: https://github.com/apache/echarts/issues/10366#issuecomment-914629510


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10413: 旭日图子元素设置最小角度minAngle后,所有子元素角度和大于父元素

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10413:
URL: https://github.com/apache/echarts/issues/10413#issuecomment-914629580


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10358: 异步加载line类型的图表数据时,动画不正确

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10358:
URL: https://github.com/apache/echarts/issues/10358#issuecomment-914629497


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10285: Option to keep Datazoom slider independent of data updates

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10285:
URL: https://github.com/apache/echarts/issues/10285#issuecomment-914629444


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10339: Conflicts in DataZoom and NotMerge

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10339:
URL: https://github.com/apache/echarts/issues/10339#issuecomment-914629479


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10275: 堆叠折线图,其中一条线step为true时,areaStyle填充不正确

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10275:
URL: https://github.com/apache/echarts/issues/10275#issuecomment-914629430


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10210: 散点图visulMap为piecewise时对数字形式的字符串颜色映射错误

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10210:
URL: https://github.com/apache/echarts/issues/10210#issuecomment-914629387


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10327: legend rich align right not work

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10327:
URL: https://github.com/apache/echarts/issues/10327#issuecomment-914629458


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #10215: tootip内容刷新问题

2021-09-07 Thread GitBox


github-actions[bot] commented on issue #10215:
URL: https://github.com/apache/echarts/issues/10215#issuecomment-914629409


   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] lieyongchang edited a comment on issue #15678: echart and material-ui card: resposive width and height

2021-09-07 Thread GitBox


lieyongchang edited a comment on issue #15678:
URL: https://github.com/apache/echarts/issues/15678#issuecomment-914408106


   right now it looks like this when i resize the card
   
![image](https://user-images.githubusercontent.com/62921597/132371834-ef8678d6-314d-400d-91e5-5881570a1b28.png)
   
   the chart is not responsive at all. what i am not sure is, how to pass the 
chartInstance i have created in my Newvsresturnvisitors class and pass it to my 
index class to call the resize method in the onLayoutChange which is trigger 
when the grid item is resize
   
   
   ```
const onLayoutChange = (layout) => {
   console.log(layout);
   //   chartInstance.resize();
 };
   ```
   I call this method inside react grid layout 
   ```
onLayoutChange(layout)}
   >
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] lieyongchang edited a comment on issue #15678: echart and material-ui card: resposive width and height

2021-09-07 Thread GitBox


lieyongchang edited a comment on issue #15678:
URL: https://github.com/apache/echarts/issues/15678#issuecomment-914408106


   but how do i capture when the card changes its width and height? how do I 
then use those values and set it as the chart own width and height ? 
   
   right now it looks like this when i resize the card
   
![image](https://user-images.githubusercontent.com/62921597/132371834-ef8678d6-314d-400d-91e5-5881570a1b28.png)
   
   the chart is not responsive at all. what i am not sure is, how to pass the 
chartInstance i have created in my Newvsresturnvisitors class and pass it to my 
index class to call the resize method in the onLayoutChange which is trigger 
when the grid item is resize
   
   
   ```
const onLayoutChange = (layout) => {
   console.log(layout);
   //   chartInstance.resize();
 };
   ```
   I call this method inside react grid layout 
   ```
onLayoutChange(layout)}
   >
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] lieyongchang edited a comment on issue #15678: echart and material-ui card: resposive width and height

2021-09-07 Thread GitBox


lieyongchang edited a comment on issue #15678:
URL: https://github.com/apache/echarts/issues/15678#issuecomment-914408106


   but how do i capture when the card changes its width and height? how do I 
then use those values and set it as the chart own width and height ? 
   
   right now it looks like this when i resize the card
   
![image](https://user-images.githubusercontent.com/62921597/132371834-ef8678d6-314d-400d-91e5-5881570a1b28.png)
   
   the chart is not responsive at all. what i am not sure is, how to pass the 
chantinstance i have create in my Newvsresturnvisitors class and pass it to my 
index class to call the resize method
   ```
const onLayoutChange = (layout) => {
   console.log(layout);
   //   chartInstance.resize();
 };
   ```
   I call this method inside react grid layout 
   ```
onLayoutChange(layout)}
   >
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] lieyongchang edited a comment on issue #15678: echart and material-ui card: resposive width and height

2021-09-07 Thread GitBox


lieyongchang edited a comment on issue #15678:
URL: https://github.com/apache/echarts/issues/15678#issuecomment-914408106


   but how do i capture when the card changes its width and height? how do I 
then use those values and set it as the chart own width and height ? 
   
   right now it looks like this when i resize the card
   
![image](https://user-images.githubusercontent.com/62921597/132371834-ef8678d6-314d-400d-91e5-5881570a1b28.png)
   
   the chart is not responsive at all. What I have tried
   I pass in the card dimension as props, but when do i know the card has 
change size and set my dimension accordingly?
   ```
   const Newvsresturnvisitors = (props) => 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] lieyongchang commented on issue #15678: echart and material-ui card: resposive width and height

2021-09-07 Thread GitBox


lieyongchang commented on issue #15678:
URL: https://github.com/apache/echarts/issues/15678#issuecomment-914408106


   but how do i capture when the card changes its width and height? how do I 
then use those values and set it as the chart own width and height ? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] susiwen8 closed issue #10030: 希望主题河流图的tooltip改进

2021-09-07 Thread GitBox


susiwen8 closed issue #10030:
URL: https://github.com/apache/echarts/issues/10030


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] nisori commented on issue #15675: Line chart - vertical marklines not showing in 5.2 (working in 5.1.2)

2021-09-07 Thread GitBox


nisori commented on issue #15675:
URL: https://github.com/apache/echarts/issues/15675#issuecomment-914273701


   Thank you, I appreciate the quick turnaround on this bug.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts-examples] branch typescript updated: optimize explore page

2021-09-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch typescript
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


The following commit(s) were added to refs/heads/typescript by this push:
 new e1814a8  optimize explore page
e1814a8 is described below

commit e1814a8918e2a5f3b2c21bf7f3bd53f3590740e7
Author: pissang 
AuthorDate: Tue Sep 7 20:31:57 2021 +0800

optimize explore page
---
 src/explore/ExampleCard.vue | 45 -
 1 file changed, 24 insertions(+), 21 deletions(-)

diff --git a/src/explore/ExampleCard.vue b/src/explore/ExampleCard.vue
index bc9f352..254adc4 100644
--- a/src/explore/ExampleCard.vue
+++ b/src/explore/ExampleCard.vue
@@ -7,19 +7,15 @@
 :data-src="screenshotURL"
   />
 
-{{ title }}
-{{ subtitle }}
-
-  
+
+  
 JS
-  
-  
 TS
-  
+  
+  
+{{ title }}
+{{ subtitle }}
+  
 
   
 
@@ -90,17 +86,25 @@ export default {
   width: 100%;
   max-width: 350px;
   margin-bottom: 30px;
-
-  border-radius: 2px;
   position: relative;
 
+  .example-link {
+margin-top: 10px;
+border-radius: 5px;
+box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
+overflow: hidden;
+display: block;
+  }
+
   .chart-area {
 width: 100%;
 height: 100%;
-border-radius: 5px;
-box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
-margin-top: 10px;
 cursor: pointer;
+transition: 0.3s ease-in-out;
+
+&:hover {
+  transform: scale(1.2);
+}
   }
 
   .example-title {
@@ -130,9 +134,8 @@ export default {
   }
 
   .example-tags {
-position: absolute;
-right: 10px;
-bottom: 20px;
+margin-top: 10px;
+float: right;
 
 & > * {
   display: inline-block;
@@ -140,8 +143,8 @@ export default {
   margin-left: 5px;
   vertical-align: middle;
   border-radius: 3px;
-  font-size: 12px;
-  font-weight: bold;
+  font-size: 10px;
+  // font-weight: bold;
   opacity: 0.8;
 
   &:hover {

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] 100pah merged pull request #15686: fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format

2021-09-07 Thread GitBox


100pah merged pull request #15686:
URL: https://github.com/apache/echarts/pull/15686


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on pull request #15686: fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format

2021-09-07 Thread GitBox


echarts-bot[bot] commented on pull request #15686:
URL: https://github.com/apache/echarts/pull/15686#issuecomment-914263000


   Congratulations! Your PR has been merged. Thanks for your contribution! 👍


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] 01/01: Merge pull request #15686 from apache/fix/dataset-perf

2021-09-07 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit babc67d49afbb36927d9053a54a5132da663d07f
Merge: eb42349 ef1d850
Author: sushuang 
AuthorDate: Tue Sep 7 20:30:09 2021 +0800

Merge pull request #15686 from apache/fix/dataset-perf

fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input 
string time format

 src/component/marker/MarkAreaView.ts  |  42 ++---
 src/component/marker/MarkLineView.ts  |   9 +--
 src/component/marker/MarkPointView.ts |  12 ++--
 src/component/marker/markerHelper.ts  |  35 +++
 test/marker-case.html | 111 ++
 5 files changed, 165 insertions(+), 44 deletions(-)

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] branch master updated (eb42349 -> babc67d)

2021-09-07 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git.


from eb42349  Merge pull request #15669 from apache/fix-stale
 add ef1d850  fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis 
if input string time format. fix #15675
 new babc67d  Merge pull request #15686 from apache/fix/dataset-perf

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/component/marker/MarkAreaView.ts | 42 +++
 src/component/marker/MarkLineView.ts |  9 ++--
 src/component/marker/MarkPointView.ts| 12 ++---
 src/component/marker/markerHelper.ts | 35 +
 test/{emphasis-inherit.html => marker-case.html} | 66 ++--
 5 files changed, 92 insertions(+), 72 deletions(-)
 copy test/{emphasis-inherit.html => marker-case.html} (56%)

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] 100pah closed issue #15675: Line chart - vertical marklines not showing in 5.2 (working in 5.1.2)

2021-09-07 Thread GitBox


100pah closed issue #15675:
URL: https://github.com/apache/echarts/issues/15675


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] WissemAouichi opened a new issue #15687: Missing first data point after moving datazoom in xAxis type time

2021-09-07 Thread GitBox


WissemAouichi opened a new issue #15687:
URL: https://github.com/apache/echarts/issues/15687


   ### Version
   5.0.2
   
   ### Reproduction link
   [https://jsfiddle.net/](https://jsfiddle.net/)
   
   ### Steps to reproduce
   After moving the datazoom, especially when moving it backward, the data 
displayed do not match the label in the datazoom handle and it also do not 
match the minimum label displayed in xAxis.
   
   ### What is expected?
   It is expected that the first displayed date should be displayed in the 
chart as it is displayed in the xAxis and in the datazoom handle.
   
   ### What is actually happening?
   The first data shown in the graph is not the corresponding to the first 
point in the xAxis or in the datazoom handle. It displays the next date.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on issue #15687: Missing first data point after moving datazoom in xAxis type time

2021-09-07 Thread GitBox


echarts-bot[bot] commented on issue #15687:
URL: https://github.com/apache/echarts/issues/15687#issuecomment-914261505


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that it contains **a minimum reproducible 
demo** and necessary **images** to illustrate. Otherwise, our committers will 
ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components 
as possible but can still illustrate your problem. This is the best way for us 
to reproduce it and solve the problem faster.
   
   You may also check out the [API](http://echarts.apache.org/api.html) and 
[chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org. Please 
attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe to our [mailing 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] 100pah opened a new pull request #15686: fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format

2021-09-07 Thread GitBox


100pah opened a new pull request #15686:
URL: https://github.com/apache/echarts/pull/15686


   
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [x] bug fixing
   - [ ] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   
   
   Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string 
time format. 
   
   
   ### Fixed issues
   
   
   
   Fix #15675 .
   
   ## Details
   
   ### Before: What was the problem?
   
   
   
   
   
   MarkLine/MarkPoint/MarkArea do not work on time axis if input string time 
format. 
   
   It brought by https://github.com/apache/echarts/pull/15355, 
   where 
   ```ts
   const dataCtors = {
   'float': CtorFloat64Array,
   'int': CtorInt32Array,
   'ordinal': Array,
   'number': Array,
   // original time is Array, not changed to TypedArray.
   'time': CtorFloat64Array
   } as const;
   ```
   
   ### After: How is it fixed in this PR?
   
   
   
   
   
   Displayed as before.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on pull request #15686: fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format

2021-09-07 Thread GitBox


echarts-bot[bot] commented on pull request #15686:
URL: https://github.com/apache/echarts/pull/15686#issuecomment-914259503


   Thanks for your contribution!
   The community will review it ASAP. In the meanwhile, please checkout [the 
coding standard](https://echarts.apache.org/en/coding-standard.html) and Wiki 
about [How to make a pull 
request](https://github.com/apache/echarts/wiki/How-to-make-a-pull-request).
   
   The pull request is marked to be `PR: author is committer` because you are a 
committer of this project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] branch fix/dataset-perf created (now ef1d850)

2021-09-07 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a change to branch fix/dataset-perf
in repository https://gitbox.apache.org/repos/asf/echarts.git.


  at ef1d850  fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis 
if input string time format. fix #15675

This branch includes the following new commits:

 new ef1d850  fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis 
if input string time format. fix #15675

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] 01/01: fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format. fix #15675

2021-09-07 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch fix/dataset-perf
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit ef1d850d886028cc4c7b259be04aa03fa0873fcf
Author: sushuang 
AuthorDate: Tue Sep 7 20:19:55 2021 +0800

fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input 
string time format. fix #15675
---
 src/component/marker/MarkAreaView.ts  |  42 ++---
 src/component/marker/MarkLineView.ts  |   9 +--
 src/component/marker/MarkPointView.ts |  12 ++--
 src/component/marker/markerHelper.ts  |  35 +++
 test/marker-case.html | 111 ++
 5 files changed, 165 insertions(+), 44 deletions(-)

diff --git a/src/component/marker/MarkAreaView.ts 
b/src/component/marker/MarkAreaView.ts
index e23403c..f9b762c 100644
--- a/src/component/marker/MarkAreaView.ts
+++ b/src/component/marker/MarkAreaView.ts
@@ -27,7 +27,7 @@ import { enableHoverEmphasis, setStatesStylesFromModel } from 
'../../util/states
 import * as markerHelper from './markerHelper';
 import MarkerView from './MarkerView';
 import { retrieve, mergeAll, map, curry, filter, HashMap, extend } from 
'zrender/src/core/util';
-import { ScaleDataValue, ParsedValue, ZRColor } from '../../util/types';
+import { ParsedValue, ScaleDataValue, ZRColor } from '../../util/types';
 import { CoordinateSystem, isCoordinateSystemType } from 
'../../coord/CoordinateSystem';
 import MarkAreaModel, { MarkArea2DDataItemOption } from './MarkAreaModel';
 import SeriesModel from '../../model/Series';
@@ -41,6 +41,7 @@ import { getVisualFromData } from '../../visual/helper';
 import { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle';
 import { getECData } from '../../util/innerStore';
 import Axis2D from '../../coord/cartesian/Axis2D';
+import { parseDataValue } from '../../data/helper/dataValueHelper';
 
 interface MarkAreaDrawGroup {
 group: graphic.Group
@@ -362,11 +363,11 @@ function createList(
 maModel: MarkAreaModel
 ) {
 
-let coordDimsInfos: SeriesDimensionDefine[];
 let areaData: SeriesData;
+let dataDims: SeriesDimensionDefine[];
 const dims = ['x0', 'y0', 'x1', 'y1'];
 if (coordSys) {
-coordDimsInfos = map(coordSys && coordSys.dimensions, function 
(coordDim) {
+const coordDimsInfos: SeriesDimensionDefine[] = map(coordSys && 
coordSys.dimensions, function (coordDim) {
 const data = seriesModel.getData();
 const info = data.getDimensionInfo(
 data.mapDimension(coordDim)
@@ -378,19 +379,18 @@ function createList(
 ordinalMeta: null
 });
 });
-areaData = new SeriesData(map(dims, function (dim, idx) {
-return {
-name: dim,
-type: coordDimsInfos[idx % 2].type
-};
-}), maModel);
+dataDims = map(dims, (dim, idx) => ({
+name: dim,
+type: coordDimsInfos[idx % 2].type
+}));
+areaData = new SeriesData(dataDims, maModel);
 }
 else {
-coordDimsInfos = [{
+dataDims = [{
 name: 'value',
 type: 'float'
 }];
-areaData = new SeriesData(coordDimsInfos, maModel);
+areaData = new SeriesData(dataDims, maModel);
 }
 
 let optData = map(maModel.get('data'), curry(
@@ -402,17 +402,15 @@ function createList(
 );
 }
 
-const dimValueGetter = coordSys ? function (
-item: MarkAreaMergedItemOption,
-dimName: string,
-dataIndex: number,
-dimIndex: number
-) {
-// TODO should convert to ParsedValue?
-return item.coord[Math.floor(dimIndex / 2)][dimIndex % 2] as 
ParsedValue;
-} : function (item: MarkAreaMergedItemOption) {
-return item.value;
-};
+const dimValueGetter: 
markerHelper.MarkerDimValueGetter = coordSys
+? function (item, dimName, dataIndex, dimIndex) {
+// TODO should convert to ParsedValue?
+const rawVal = item.coord[Math.floor(dimIndex / 2)][dimIndex % 2];
+return parseDataValue(rawVal, dataDims[dimIndex]);
+}
+: function (item, dimName, dataIndex, dimIndex) {
+return parseDataValue(item.value, dataDims[dimIndex]);
+};
 areaData.initData(optData, null, dimValueGetter);
 areaData.hasItemOption = true;
 return areaData;
diff --git a/src/component/marker/MarkLineView.ts 
b/src/component/marker/MarkLineView.ts
index 212ce68..7c651b6 100644
--- a/src/component/marker/MarkLineView.ts
+++ b/src/component/marker/MarkLineView.ts
@@ -50,6 +50,7 @@ import { makeInner } from '../../util/model';
 import { LineDataVisual } from '../../visual/commonVisualTypes';
 import { getVisualFromData } from '../../visual/helper';
 import Axis2D from '../../coord/cartesian/Axis2D';
+import SeriesDimensionDefine from '../../data/SeriesDimensionDefine'

[GitHub] [echarts] yanqiqi1996 commented on issue #15680: 折线图使用visualMap时颜色错乱,颜色错位

2021-09-07 Thread GitBox


yanqiqi1996 commented on issue #15680:
URL: https://github.com/apache/echarts/issues/15680#issuecomment-914220402


   @dignfei  这个问题你解决了吗
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] xinghehaohan edited a comment on issue #15527: typeScript 下 echarts.registerMap,提示错误,怎么解决

2021-09-07 Thread GitBox


xinghehaohan edited a comment on issue #15527:
URL: https://github.com/apache/echarts/issues/15527#issuecomment-914160862


   echarts.registerMap('china', (china) as any);
   echarts.registerMap('world', (world) as any);
   echarts.registerMap('USA', (usa) as any, {
 Alaska: {
   // 把阿拉斯加移到美国主大陆左下方
   left: -143,
   top: 50,
   width: 15
 },
 Hawaii: {
   left: -135,// 夏威夷
   top: 24,
   width: 5
 }
   });
   
   ### 加  (usa) as any 可以解决这个bug


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] xinghehaohan commented on issue #15527: typeScript 下 echarts.registerMap,提示错误,怎么解决

2021-09-07 Thread GitBox


xinghehaohan commented on issue #15527:
URL: https://github.com/apache/echarts/issues/15527#issuecomment-914160862


   echarts.registerMap('china', (china) as any);
   echarts.registerMap('world', (world) as any);
   echarts.registerMap('USA',###  (usa) as any, {
 Alaska: {
   // 把阿拉斯加移到美国主大陆左下方
   left: -143,
   top: 50,
   width: 15
 },
 Hawaii: {
   left: -135,// 夏威夷
   top: 24,
   width: 5
 }
   });
   
   ### 加  (usa) as any 可以解决这个bug


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on issue #15685: fast setOption when last render animation is not finish will cause render error.

2021-09-07 Thread GitBox


echarts-bot[bot] commented on issue #15685:
URL: https://github.com/apache/echarts/issues/15685#issuecomment-914159865






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] HHHui opened a new issue #15685: fast setOption when last render animation is not finish will cause render error.

2021-09-07 Thread GitBox


HHHui opened a new issue #15685:
URL: https://github.com/apache/echarts/issues/15685


   ### Version
   5.2.0
   
   ### Reproduction link
   [https://jsfiddle.net/vz4ponLx/](https://jsfiddle.net/vz4ponLx/)
   切换Option过快, 会导致变化的animation残留在图上.
   
   ### Steps to reproduce
   click example's update button fast.
   
   ### What is expected?
   chart only render latest options.
   
   ### What is actually happening?
   
![Screenshot2021_09_07_174330](https://user-images.githubusercontent.com/7496189/132323396-c7c854dc-74bc-48c1-aee0-83eccd699a7e.jpg)
   the changing animation will left on chart.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] plainheart commented on issue #12582: How to set the height of datazoom

2021-09-07 Thread GitBox


plainheart commented on issue #12582:
URL: https://github.com/apache/echarts/issues/12582#issuecomment-914127202


   @e-cloud Would you mind helping add this property to the documentation 
repository? https://github.com/apache/echarts-doc


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts-examples] 01/02: add ts flag

2021-09-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch typescript
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git

commit 8eb05c1952a88afb23cd1b528e6d53cee53c2698
Author: pissang 
AuthorDate: Tue Sep 7 16:29:56 2021 +0800

add ts flag
---
 src/common/i18n.js  |   6 +-
 src/common/store.js |  17 ++-
 src/data/chart-list-data.js | 327 +++-
 src/editor/Editor.vue   |  30 +++-
 src/editor/Preview.vue  |  16 +--
 tool/build-example.js   |   9 +-
 6 files changed, 356 insertions(+), 49 deletions(-)

diff --git a/src/common/i18n.js b/src/common/i18n.js
index 8bb0e56..097aa08 100644
--- a/src/common/i18n.js
+++ b/src/common/i18n.js
@@ -25,7 +25,8 @@ export default {
 
   tooltip: {
 jsMode: 'JavaScript',
-tsMode: 'TypeScript. Provides Better Intelligent'
+tsMode: 'TypeScript. Provides Better Intelligent',
+noTs: 'No Available TypeScript Code'
   },
 
   codeChangedConfirm:
@@ -102,7 +103,8 @@ export default {
 
   tooltip: {
 jsMode: 'JavaScript 代码编辑',
-tsMode: 'TypeScript 代码编辑,提供更好的代码补全和类型检查。'
+tsMode: 'TypeScript 代码编辑,提供更好的代码补全和类型检查',
+noTs: '该示例暂无 TypeScript 版本'
   },
 
   codeChangedConfirm: '已经修改过的代码将会丢失,是否确认继续?',
diff --git a/src/common/store.js b/src/common/store.js
index af35246..6dbb3ee 100644
--- a/src/common/store.js
+++ b/src/common/store.js
@@ -1,5 +1,7 @@
 // import * as matter from 'gray-matter';
 import { URL_PARAMS } from '../common/config';
+import CHART_LIST from '../data/chart-list-data';
+import CHART_LIST_GL from '../data/chart-list-data-gl';
 
 export const store = {
   cdnRoot: '',
@@ -10,7 +12,8 @@ export const store = {
   enableDecal: 'decal' in URL_PARAMS,
   renderer: URL_PARAMS.renderer || 'canvas',
 
-  typeCheck: (URL_PARAMS.lang || '').toLowerCase() === 'ts',
+  typeCheck:
+getExampleConfig().ts && (URL_PARAMS.lang || '').toLowerCase() === 'ts',
   useDirtyRect: 'useDirtyRect' in URL_PARAMS,
 
   runCode: '',
@@ -26,6 +29,18 @@ export const store = {
   }
 };
 
+function findExample(item) {
+  return URL_PARAMS.c === item.id;
+}
+export function getExampleConfig() {
+  const example = CHART_LIST.concat(CHART_LIST_GL).find(findExample);
+  return example;
+}
+
+export function isGLExample() {
+  return CHART_LIST_GL.find(findExample);
+}
+
 export function loadExampleCode() {
   return new Promise((resolve) => {
 const glFolder = URL_PARAMS.gl ? 'gl/' : '';
diff --git a/src/data/chart-list-data.js b/src/data/chart-list-data.js
index 2418a66..3581bc4 100644
--- a/src/data/chart-list-data.js
+++ b/src/data/chart-list-data.js
@@ -7,6 +7,7 @@ export default [
   "bar"
 ],
 "id": "bar-background",
+"ts": true,
 "tags": [],
 "title": "Bar with Background",
 "titleCN": "带背景色的柱状图",
@@ -17,6 +18,7 @@ export default [
   "custom"
 ],
 "id": "bar-histogram",
+"ts": true,
 "tags": [],
 "title": "Histogram with Custom Series",
 "titleCN": "直方图(自定义系列)",
@@ -27,6 +29,7 @@ export default [
   "bar"
 ],
 "id": "bar-simple",
+"ts": true,
 "tags": [],
 "title": "Basic Bar",
 "titleCN": "基础柱状图",
@@ -37,6 +40,7 @@ export default [
   "bar"
 ],
 "id": "bar-tick-align",
+"ts": true,
 "tags": [],
 "title": "Axis Align with Tick",
 "titleCN": "坐标轴刻度与标签对齐",
@@ -47,6 +51,7 @@ export default [
   "calendar"
 ],
 "id": "calendar-simple",
+"ts": true,
 "tags": [],
 "title": "Simple Calendar",
 "titleCN": "基础日历图",
@@ -57,6 +62,7 @@ export default [
   "candlestick"
 ],
 "id": "candlestick-simple",
+"ts": true,
 "tags": [],
 "title": "Basic Candlestick",
 "titleCN": "基础 K 线图",
@@ -69,6 +75,7 @@ export default [
   "transform"
 ],
 "id": "data-transform-sort-bar",
+"ts": true,
 "tags": [],
 "title": "Sort Data in Bar Chart",
 "titleCN": "柱状图排序",
@@ -79,6 +86,7 @@ export default [
   "heatmap"
 ],
 "id": "heatmap-cartesian",
+"ts": true,
 "tags": [],
 "title": "Heatmap on Cartesian",
 "titleCN": "笛卡尔坐标系上的热力图",
@@ -89,6 +97,7 @@ export default [
   "line"
 ],
 "id": "line-simple",
+"ts": true,
 "tags": [],
 "title": "Basic Line Chart",
 "titleCN": "基础折线图",
@@ -99,6 +108,7 @@ export default [
   "line"
 ],
 "id": "line-smooth",
+"ts": true,
 "tags": [],
 "title": "Smoothed Line Chart",
 "titleCN": "基础平滑折线图",
@@ -109,9 +119,10 @@ export default [
   "pie"
 ],
 "id": "pie-simple",
+"ts": true,
 "tags": [],
-"title": "Referer of a website",
-"titleCN": "某站点用户访问来源",
+"title": "Referer of a Website",
+"titleCN": "某站点用户Access From",
 "difficulty": 0
   },
   {
@@ -119,6 +130,7 @@ export default [
   "radar"
 ],
 "id": "radar",
+"ts": true,
 "tags": [],

[echarts-examples] 02/02: add js and ts tag in explore page

2021-09-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch typescript
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git

commit 4bed1e1a908b1dafd4cfc8ba2769ea47cf9bf583
Author: pissang 
AuthorDate: Tue Sep 7 16:51:28 2021 +0800

add js and ts tag in explore page
---
 src/common/store.js |   4 +-
 src/explore/ExampleCard.vue | 103 +++-
 src/explore/Explore.vue |   1 -
 3 files changed, 75 insertions(+), 33 deletions(-)

diff --git a/src/common/store.js b/src/common/store.js
index 6dbb3ee..a73ec0d 100644
--- a/src/common/store.js
+++ b/src/common/store.js
@@ -13,7 +13,9 @@ export const store = {
   renderer: URL_PARAMS.renderer || 'canvas',
 
   typeCheck:
-getExampleConfig().ts && (URL_PARAMS.lang || '').toLowerCase() === 'ts',
+getExampleConfig() &&
+getExampleConfig().ts &&
+(URL_PARAMS.lang || '').toLowerCase() === 'ts',
   useDirtyRect: 'useDirtyRect' in URL_PARAMS,
 
   runCode: '',
diff --git a/src/explore/ExampleCard.vue b/src/explore/ExampleCard.vue
index 17d6959..bc9f352 100644
--- a/src/explore/ExampleCard.vue
+++ b/src/explore/ExampleCard.vue
@@ -6,9 +6,21 @@
 src="../asset/placeholder.jpg"
 :data-src="screenshotURL"
   />
-  {{ title }}
-  {{ subtitle }}
 
+{{ title }}
+{{ subtitle }}
+
+  
+JS
+  
+  
+TS
+  
+
   
 
 
@@ -80,42 +92,71 @@ export default {
   margin-bottom: 30px;
 
   border-radius: 2px;
+  position: relative;
+
+  .chart-area {
+width: 100%;
+height: 100%;
+border-radius: 5px;
+box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
+margin-top: 10px;
+cursor: pointer;
+  }
+
+  .example-title {
+color: $clr-primary;
+overflow: hidden;
+text-overflow: ellipsis;
+white-space: nowrap;
+
+padding: 10px 10px 2px 10px;
+margin: 0;
+display: block;
+font-size: 14px;
+text-align: left;
+  }
 
-  .example-link {
-position: relative;
+  .example-subtitle {
+font-size: 12px;
+text-align: left;
+color: #aaa;
 display: block;
+// font-weight: 200;
+overflow: hidden;
+white-space: nowrap;
+text-overflow: ellipsis;
+margin: 3px 0 0 0;
+padding-left: 10px;
+  }
+
+  .example-tags {
+position: absolute;
+right: 10px;
+bottom: 20px;
+
+& > * {
+  display: inline-block;
+  padding: 1px 6px;
+  margin-left: 5px;
+  vertical-align: middle;
+  border-radius: 3px;
+  font-size: 12px;
+  font-weight: bold;
+  opacity: 0.8;
 
-.chart-area {
-  width: 100%;
-  height: 100%;
-  border-radius: 5px;
-  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
-  margin-top: 10px;
+  &:hover {
+opacity: 1;
+  }
 }
 
-.example-title {
-  color: $clr-primary;
-  overflow: hidden;
-  text-overflow: ellipsis;
-  white-space: nowrap;
-
-  padding: 10px 10px 2px 10px;
-  margin: 0;
-  font-weight: normal;
-  font-size: 14px;
-  text-align: center;
+.js {
+  background: #f7df1e;
+  color: #444;
 }
 
-.example-subtitle {
-  font-size: 12px;
-  text-align: center;
-  color: #aaa;
-  font-weight: normal;
-  // font-weight: 200;
-  overflow: hidden;
-  white-space: nowrap;
-  text-overflow: ellipsis;
-  margin: 3px 0 0 0;
+.ts {
+  background: #3178c6;
+  color: #eee;
 }
   }
 
diff --git a/src/explore/Explore.vue b/src/explore/Explore.vue
index cd81d4c..945c60d 100644
--- a/src/explore/Explore.vue
+++ b/src/explore/Explore.vue
@@ -375,7 +375,6 @@ $pd-lg: 20px;
 
   li {
 // transition: background-color 0.5s;
-cursor: pointer;
 
 a {
   height: 45px;

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts-examples] branch typescript updated (bfb64a2 -> 4bed1e1)

2021-09-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a change to branch typescript
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git.


from bfb64a2  fix build example
 new 8eb05c1  add ts flag
 new 4bed1e1  add js and ts tag in explore page

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/common/i18n.js  |   6 +-
 src/common/store.js |  19 ++-
 src/data/chart-list-data.js | 327 +++-
 src/editor/Editor.vue   |  30 +++-
 src/editor/Preview.vue  |  16 +--
 src/explore/ExampleCard.vue | 103 +-
 src/explore/Explore.vue |   1 -
 tool/build-example.js   |   9 +-
 8 files changed, 430 insertions(+), 81 deletions(-)

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] Bilge commented on issue #14695: Connected tooltip lags and glitches on paired chart

2021-09-07 Thread GitBox


Bilge commented on issue #14695:
URL: https://github.com/apache/echarts/issues/14695#issuecomment-914098253


   @plainheart Very good, thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] e-cloud commented on issue #12582: How to set the height of datazoom

2021-09-07 Thread GitBox


e-cloud commented on issue #12582:
URL: https://github.com/apache/echarts/issues/12582#issuecomment-914088526


   @kevalbhatt it's fixed. There is an undocumented property `height` for slider


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts-examples] branch typescript updated (85dfdaf -> bfb64a2)

2021-09-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a change to branch typescript
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git.


from 85dfdaf  feat: add ts and js switch. add prettier
 new 91a9f36  add language switch confirm
 new bfb64a2  fix build example

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 package.json  |  8 
 public/examples/tsconfig.json | 24 
 src/common/i18n.js| 14 --
 src/common/store.js   |  1 +
 src/editor/Editor.vue | 24 
 src/editor/Preview.vue|  8 
 tool/build-example.js | 33 +++--
 tool/compile-example.js   | 35 +++
 tool/screenshot.html  |  5 +++--
 9 files changed, 110 insertions(+), 42 deletions(-)
 create mode 100644 tool/compile-example.js

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts-examples] 02/02: fix build example

2021-09-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch typescript
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git

commit bfb64a2da816b160843720ecb6742ba00d9a5897
Author: pissang 
AuthorDate: Tue Sep 7 16:04:17 2021 +0800

fix build example
---
 package.json  |  8 
 public/examples/tsconfig.json | 24 
 src/common/store.js   |  1 +
 tool/build-example.js | 33 +++--
 tool/compile-example.js   | 35 +++
 tool/screenshot.html  |  5 +++--
 6 files changed, 74 insertions(+), 32 deletions(-)

diff --git a/package.json b/package.json
index cbc49e1..90c55fe 100644
--- a/package.json
+++ b/package.json
@@ -5,11 +5,11 @@
   "scripts": {
 "build": "npx webpack --config build/webpack.config.js --mode production",
 "watch": "npx webpack --config build/webpack.config.js --mode development 
--devtool source-map --watch",
-"localsite": "npm run build && node build/copyResource.js --env localsite",
-"release": "npm run build && node build/copyResource.js --env asf",
+"localsite": "npm run compile:example || npm run build && node 
build/copyResource.js --env localsite",
+"release": "npm run compile:example || npm run build && node 
build/copyResource.js --env asf",
 "dev": "npx concurrently --kill-others \"npm:watch\" \"npm:server\"",
-"build:example": "node tool/build-example.js && node tool/build-example.js 
--source data-gl",
-"compile:example": "tsc --project public/examples/tsconfig.json || 
prettier --write public/examples/js",
+"build:example": "npm run compile:example || node tool/build-example.js && 
node tool/build-example.js --gl",
+"compile:example": "node tool/compile-example.js",
 "test:e2e": "node e2e/main.js --bundler webpack -m",
 "test:e2e:local": "node e2e/main.js --bundler webpack -m --local",
 "test:e2e:esbuild": "node e2e/main.js --bundler esbuild -m",
diff --git a/public/examples/tsconfig.json b/public/examples/tsconfig.json
index b689d9a..f47c85b 100644
--- a/public/examples/tsconfig.json
+++ b/public/examples/tsconfig.json
@@ -1,13 +1,13 @@
 {
-"compilerOptions": {
-"target": "ES6",
-"strict": true,
-"moduleResolution": "node",
-"allowJs": true,
-"checkJs": false,
-"pretty": true,
-"outDir": "./js/",
-"baseUrl": "./"
-},
-"include": ["./ts/**/*.ts", "./ts/**/*.js", "./types/**/*.d.ts"]
-}
\ No newline at end of file
+  "compilerOptions": {
+"target": "ES6",
+"strict": true,
+"moduleResolution": "node",
+"allowJs": true,
+"checkJs": false,
+"pretty": true,
+"outDir": "./js/",
+"baseUrl": "./"
+  },
+  "include": ["./ts/**/*.ts", "./ts/**/*.js", "./types/**/*.d.ts"]
+}
diff --git a/src/common/store.js b/src/common/store.js
index f6a56df..af35246 100644
--- a/src/common/store.js
+++ b/src/common/store.js
@@ -49,6 +49,7 @@ export function parseSourceCode(code) {
   .replace(/\/\*[\w\W]*?\*\//, '')
   .trim()
   // ts code needs add `export {}` to be a module. remove it.
+  // FIXME
   .replace(/export\s+\{\s*\}\s*;?$/g, '')
   );
 }
diff --git a/tool/build-example.js b/tool/build-example.js
index ac763da..b23290b 100644
--- a/tool/build-example.js
+++ b/tool/build-example.js
@@ -36,8 +36,8 @@ function codeSize(code) {
 const parser = new argparse.ArgumentParser({
   addHelp: true
 });
-parser.addArgument(['-s', '--source'], {
-  help: 'Source folder'
+parser.addArgument(['--gl'], {
+  help: 'If generating gl'
 });
 parser.addArgument(['-t', '--theme'], {
   help: 'Theme list, default to be all'
@@ -51,7 +51,7 @@ parser.addArgument(['--no-thumb'], {
 });
 
 const args = parser.parseArgs();
-const sourceFolder = args.source || 'data';
+const isGL = args.gl;
 let themeList = args.theme || 'default,dark';
 let matchPattern = args.pattern;
 if (matchPattern) {
@@ -107,7 +107,8 @@ async function takeScreenshot(
 ) {
   const thumbFolder = theme !== 'default' ? 'thumb-' + theme : 'thumb';
   const page = await browser.newPage();
-  const thumbDir = `${rootDir}public/${sourceFolder}/${thumbFolder}`;
+  const dataDir = isGL ? 'data-gl' : 'data';
+  const thumbDir = `${rootDir}public/${dataDir}/${thumbFolder}`;
   const fileBase = `${thumbDir}/${basename}`;
   const webmFile = `${fileBase}.webm`;
 
@@ -138,7 +139,9 @@ async function takeScreenshot(
 width: shotWidth || DEFAULT_PAGE_WIDTH,
 height: (shotWidth || DEFAULT_PAGE_WIDTH) * DEFAULT_PAGE_RATIO
   });
-  let url = 
`${SCREENSHOT_PAGE_URL}?c=${basename}&t=${theme}&s=${sourceFolder}`;
+  let url = `${SCREENSHOT_PAGE_URL}?c=${basename}&t=${theme}${
+isGL ? '&gl' : ''
+  }`;
 
   if (hasVideo) {
 url += `&start=${videoStart}&end=${videoEnd}`;
@@ -193,9 +196,9 @@ async function takeScreenshot(
 return _$getEChartsOption();
   });
   const option

[echarts-examples] 01/02: add language switch confirm

2021-09-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch typescript
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git

commit 91a9f36c6b8c9137b9912923f4d61816aef26400
Author: pissang 
AuthorDate: Tue Sep 7 15:39:47 2021 +0800

add language switch confirm
---
 src/common/i18n.js | 14 --
 src/editor/Editor.vue  | 24 
 src/editor/Preview.vue |  8 
 3 files changed, 36 insertions(+), 10 deletions(-)

diff --git a/src/common/i18n.js b/src/common/i18n.js
index 206515a..8bb0e56 100644
--- a/src/common/i18n.js
+++ b/src/common/i18n.js
@@ -26,7 +26,12 @@ export default {
   tooltip: {
 jsMode: 'JavaScript',
 tsMode: 'TypeScript. Provides Better Intelligent'
-  }
+  },
+
+  codeChangedConfirm:
+"Modified code will be lost. Do you wan't to continue?",
+  confirmButtonText: 'Yes',
+  cancelButtonText: 'No'
 },
 
 chartTypes: {
@@ -98,7 +103,12 @@ export default {
   tooltip: {
 jsMode: 'JavaScript 代码编辑',
 tsMode: 'TypeScript 代码编辑,提供更好的代码补全和类型检查。'
-  }
+  },
+
+  codeChangedConfirm: '已经修改过的代码将会丢失,是否确认继续?',
+
+  confirmButtonText: '确认',
+  cancelButtonText: '取消'
 },
 
 chartTypes: {
diff --git a/src/editor/Editor.vue b/src/editor/Editor.vue
index f0f8abd..2070a26 100644
--- a/src/editor/Editor.vue
+++ b/src/editor/Editor.vue
@@ -292,11 +292,27 @@ export default {
 },
 changeLang(lang) {
   if ((URL_PARAMS.lang || 'js').toLowerCase() !== lang) {
-goto(
-  Object.assign({}, URL_PARAMS, {
-lang
+if (!this.initialCode || store.sourceCode === this.initialCode) {
+  goto(
+Object.assign({}, URL_PARAMS, {
+  lang
+})
+  );
+} else {
+  this.$confirm(this.$t('editor.codeChangedConfirm'), '', {
+confirmButtonText: this.$t('editor.confirmButtonText'),
+cancelButtonText: this.$t('editor.cancelButtonText'),
+type: 'warning'
   })
-);
+.then(() => {
+  goto(
+Object.assign({}, URL_PARAMS, {
+  lang
+})
+  );
+})
+.catch(() => {});
+}
   }
 },
 format() {
diff --git a/src/editor/Preview.vue b/src/editor/Preview.vue
index dd573d5..89518da 100644
--- a/src/editor/Preview.vue
+++ b/src/editor/Preview.vue
@@ -57,10 +57,10 @@
   
 
   
-  {{ $t('editor.renderCfgTitle') }}
+  
+{{ $t('editor.renderCfgTitle') }}
+  
 
   
   

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] MarioZZJ removed a comment on issue #11473: 可不可以给 graph 图 layout: 为 force,设置边界 不要让节点超出画布

2021-09-07 Thread GitBox


MarioZZJ removed a comment on issue #11473:
URL: https://github.com/apache/echarts/issues/11473#issuecomment-850794417


   +1很需要


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org