This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
The following commit(s) were added to refs/heads/gh-pages by this push: new 8bb5ad5c fix: remove unnecessary tooltip in the example 8bb5ad5c is described below commit 8bb5ad5cb2940e32bebb9b123ee0c9d2801cd273 Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Wed May 31 15:09:46 2023 +0800 fix: remove unnecessary tooltip in the example --- public/examples/ts/candlestick-brush.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/public/examples/ts/candlestick-brush.ts b/public/examples/ts/candlestick-brush.ts index 686bbf1b..862ddcf7 100644 --- a/public/examples/ts/candlestick-brush.ts +++ b/public/examples/ts/candlestick-brush.ts @@ -195,18 +195,6 @@ $.get(ROOT_PATH + '/data/asset/data/stock-DJI.json', function (rawData) { color0: downColor, borderColor: undefined, borderColor0: undefined - }, - tooltip: { - formatter: function (param: any) { - param = param[0]; - return [ - 'Date: ' + param.name + '<hr size=1 style="margin: 3px 0">', - 'Open: ' + param.data[0] + '<br/>', - 'Close: ' + param.data[1] + '<br/>', - 'Lowest: ' + param.data[2] + '<br/>', - 'Highest: ' + param.data[3] + '<br/>' - ].join(''); - } } }, { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org