Skip to content

Commit

Permalink
Bar graphs should only get latest historical datum (#7811)
Browse files Browse the repository at this point in the history
* Only as for latest historical telemetry

* Add test for size 1 request when a bar graph is loaded

* Use strategy latest instead of size 1 for historical request

* Fix linting issues

* Add size and strategy

* Remove bar graph tests

---------

Co-authored-by: Jesse Mazzella <[email protected]>
  • Loading branch information
shefalijoshi and ozyx authored Sep 25, 2024
1 parent de122b9 commit e792403
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/charts/bar/BarGraphView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ export default {
return {
end,
start
start,
size: 1,
strategy: 'latest'
};
},
loadComposition() {
Expand Down

0 comments on commit e792403

Please sign in to comment.