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
Describe the bug Edge bars cover the axes when outside of the domain.
To Reproduce Steps to reproduce the behavior:
playground.tsx
import React from 'react'; import { Axis, Chart, getAxisId, getSpecId, Position, ScaleType, Settings, HistogramBarSeries } from '../src'; import { KIBANA_METRICS } from '../src/utils/data_samples/test_dataset_kibana'; export class Playground extends React.Component { render() { return ( <div className="chart"> <Chart> <Settings showLegend={true} xDomain={{ min: KIBANA_METRICS.metrics.kibana_os_load[0].data[0][0] + 10000, max: KIBANA_METRICS.metrics.kibana_os_load[0].data[18][0] + 10000, }} rotation={0} /> <Axis id={getAxisId('y')} position={Position.Left} /> <Axis id={getAxisId('x')} position={Position.Bottom} /> <HistogramBarSeries id={getSpecId('bar')} yScaleType={ScaleType.Linear} xScaleType={ScaleType.Time} xAccessor={0} yAccessors={[1]} data={KIBANA_METRICS.metrics.kibana_os_load[0].data.slice(0, 15)} /> </Chart> </div> ); } }
Expected behavior Bars add bands should be clipped from the edge or no shown.
Screenshots
Kibana Cross Issues Add any Kibana related issues here.
Checklist
Kibana Cross Issues
kibana cross issue
The text was updated successfully, but these errors were encountered:
fix: clip overflowing rect/lines/areas
cec1973
fix elastic#354
fix: clip overflowing rect/lines/areas (#355)
3ff7379
This commit re-apply the clippings for all the geometries but the points to avoid issues with a smaller custom domain than the one computed fix #354
chore(release): 11.0.5 [skip ci]
273d2eb
## [11.0.5](v11.0.4...v11.0.5) (2019-08-27) ### Bug Fixes * clip overflowing rect/lines/areas ([#355](#355)) ([3ff7379](3ff7379)), closes [#354](#354)
🎉 This issue has been resolved in version 11.0.5 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
f92b4f1
## [11.0.5](elastic/elastic-charts@v11.0.4...v11.0.5) (2019-08-27) ### Bug Fixes * clip overflowing rect/lines/areas ([opensearch-project#355](elastic/elastic-charts#355)) ([72030b8](elastic/elastic-charts@72030b8)), closes [opensearch-project#354](elastic/elastic-charts#354)
markov00
Successfully merging a pull request may close this issue.
Describe the bug
Edge bars cover the axes when outside of the domain.
To Reproduce
Steps to reproduce the behavior:
playground.tsx
with 👇Expected behavior
Bars add bands should be clipped from the edge or no shown.
Screenshots
Kibana Cross Issues
Add any Kibana related issues here.
Checklist
Kibana Cross Issues
listkibana cross issue
tag is associated to the issue if any kibana cross issue is presentThe text was updated successfully, but these errors were encountered: