We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it('repaint shape属性不生效', done => { const data = [{ time: '2016-08-08 00:00:00', value: 10, type: '预期收益率' }, { time: '2016-08-08 00:10:00', value: 22, type: '预期收益率' }, { time: '2016-08-08 00:30:00', value: 16, type: '预期收益率' }, { time: '2016-08-09 00:35:00', value: 26, type: '预期收益率' }, { time: '2016-08-09 01:00:00', value: 12, type: '预期收益率' }, { time: '2016-08-09 01:20:00', value: 26, type: '预期收益率' }, { time: '2016-08-10 01:40:00', value: 18, type: '预期收益率' }, { time: '2016-08-10 02:00:00', value: 26, type: '预期收益率' }, { time: '2016-08-10 02:20:00', value: 12, type: '预期收益率' }, { time: '2016-08-08 00:00:00', value: 4, type: '实际收益率' }, { time: '2016-08-08 00:10:00', value: 3, type: '实际收益率' }, { time: '2016-08-08 00:30:00', value: 6, type: '实际收益率' }, { time: '2016-08-09 00:35:00', value: -12, type: '实际收益率' }, { time: '2016-08-09 01:00:00', value: 1, type: '实际收益率1' }, { time: '2016-08-09 01:20:00', value: 9, type: '实际收益率1' }, { time: '2016-08-10 01:40:00', value: 13, type: '实际收益率1' }, { time: '2016-08-10 02:00:00', value: -3, type: '实际收益率1' }, { time: '2016-08-10 02:20:00', value: 11, type: '实际收益率1' }]; const chart = new F2.Chart({ el: canvas, pixelRatio: window.devicePixelRatio }); chart.source(data, { time: { type: 'timeCat', tickCount: 3, mask: 'hh:mm', range: [ 0, 1 ] }, value: { tickCount: 3, formatter: function formatter(ivalue) { return ivalue + '%'; } } }); chart.line() .position('time*value') .color('type') chart.point() .position('time*value') .color('type') .shape('type', ['circle', 'hollowCircle', 'rect']); chart.render();
The text was updated successfully, but these errors were encountered:
fix: 修复hollowCircle报错和多geom时,crosshairs不显示的问题。Fixed #1140
186dd36
c1b5c85
Merge pull request #1141 from antvis/fix-issue-1140
fa45241
No branches or pull requests
The text was updated successfully, but these errors were encountered: