mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* When comparing field config, shallowly compare custom config * Refactoring plot init and data update (WIP) * GraphNG: Fixed points mode * Fixed min & max from frame config * Fixed axis left / right auto logic * Minor tweak to cursor color * Fixed time axis now that uPlot deals in milliseconds as well * fixed ts issue * Updated test * Fixed axis placement logic again * Added new unit test for axis placement logic * Removed unused props * Fixed zoom issue due to uPlot time resolution change * Add back millisecond time tick support * Comment out GraphNG test * Fixed being able to switch legend on/off * Updated unit tests * GraphNG: Fixed hiding axis * Frame comparison: allow skipping properties * Update y-axis ranges without reinitializing uPlot * update snap * GraphNG: Fixed axis label placement and spacing issues * update snaps Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
20 lines
381 B
SCSS
20 lines
381 B
SCSS
// importing the uPlot css so it will be bundled with the rest of the styling.
|
|
@import '../../node_modules/uplot/dist/uPlot.min.css';
|
|
|
|
.uplot {
|
|
font-family: inherit;
|
|
}
|
|
|
|
.u-select {
|
|
background: rgba(120, 120, 130, 0.2);
|
|
}
|
|
|
|
.u-cursor-x {
|
|
border-right: 1px dashed rgba(120, 120, 130, 0.5);
|
|
}
|
|
|
|
.u-cursor-y {
|
|
width: 100%;
|
|
border-bottom: 1px dashed rgba(120, 120, 130, 0.5);
|
|
}
|