[charts] Fix multilayer time axis styles#116749
Conversation
|
@elasticmachine merge upstream |
|
Pinging @elastic/datavis (Feature:ElasticCharts) |
x-pack/plugins/uptime/public/components/common/charts/__snapshots__/donut_chart.test.tsx.snap
Show resolved
Hide resolved
|
Pinging @elastic/uptime (Team:uptime) |
dominiqueclarke
left a comment
There was a problem hiding this comment.
Uptime changes LGTM
|
@elasticmachine merge upstream |
You are right, I've pushed a fix here 6bcad3f
Not right now and not for 8.0, the timelion default parameters for bars are not suitable to be used with the multilayer time axis. We can enable it only for area/line charts in case. We are anyway after FF and we can't merge new features in actually.
We are going to disable them but I prefer to disable them in a different PR, this one should be merged first as it is way more important for now |
stratoula
left a comment
There was a problem hiding this comment.
@markov00 I totally agree. About timelion I was thinking to enable it on a future minor if it makes sense and I am fine to disable them on another PR, it is mostly for UX reasons.
Changes LGTM! I tested it locally and works fine in Lens, TSVB and. Visualize
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
This commit fixes a set of issues to the new multilayer time axis: - the tickLine is now removed from ticks without a label - the axis/tick/label style is restored to the original EUI one - the multilayer time axis style is now moved into the charts plugin and reused - Lens: use the single-layer time axis when bars cluster is used - TSVB: I reduced a bit the number of ticks on the Y axis, to reduce the noise of gridlines with multilayer axis - Discover: I reduced by 8px the height of the histogram and moved the top padding to the bottom to separate a bit the time range text and the time axis Coming from @elastic/charts update: - multilayer time axis tick/grid is shown only when tick is inside domain (this removes the black vertical axis line at the beginning of the chart) fix(xy): show mouse cursors on charts with opaque background elastic-charts#1447 - Fix the invisible cursor on charts with opaque backgrounds fix(xy): multilayer time axis tick/grid only when tick is inside domain elastic-charts#1446 - Add missing last tick and rarify gridlines fix(xy): adding missing last tick and other tick improvements elastic-charts#1448
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
This commit fixes a set of issues to the new multilayer time axis: - the tickLine is now removed from ticks without a label - the axis/tick/label style is restored to the original EUI one - the multilayer time axis style is now moved into the charts plugin and reused - Lens: use the single-layer time axis when bars cluster is used - TSVB: I reduced a bit the number of ticks on the Y axis, to reduce the noise of gridlines with multilayer axis - Discover: I reduced by 8px the height of the histogram and moved the top padding to the bottom to separate a bit the time range text and the time axis Coming from @elastic/charts update: - multilayer time axis tick/grid is shown only when tick is inside domain (this removes the black vertical axis line at the beginning of the chart) fix(xy): show mouse cursors on charts with opaque background elastic-charts#1447 - Fix the invisible cursor on charts with opaque backgrounds fix(xy): multilayer time axis tick/grid only when tick is inside domain elastic-charts#1446 - Add missing last tick and rarify gridlines fix(xy): adding missing last tick and other tick improvements elastic-charts#1448 Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>



Summary
This PR fixes a set of issues to the new multilayer time axis:
tickLineis now removed from ticks without a labelchartsplugin and reusedComing from
@elastic/chartsupdate: