analytics/assets/js/dashboard/stats
Vini Brasil db9b4b81fb
Refactor: Graph Dataset functions (#2690)
* Refactor graph dataset building function

This commit refactors the graph dataset building functions into three
separate functions, one for each plot: main plot, comparison plot, and
dashed plot.

* Merge default graph dataset options

This commit moves default options from graph building functions to the
main function.

* Remove truncateToPresentIndex function

* Include dashed part when comparing periods

This commit fixes a bug where some period + interval combinations were
not working properly with comparisons. This is because `present_index`
is not available in every period, e.g. Last Month.
2023-02-21 11:36:26 -03:00
..
conversions Realtime dashboard improvements (#2445) 2023-01-02 17:42:57 +02:00
devices Replace empty OS/screen size/Browser with (not set) in UI/API/exports (#2646) 2023-02-07 12:47:54 +01:00
graph Refactor: Graph Dataset functions (#2690) 2023-02-21 11:36:26 -03:00
locations Convert list elements to button elements for stats tabs in order to enable keyboard navigation (#2526) 2023-01-05 11:45:19 +02:00
modals Refactor: Use HeadlessUI for search-select component (#2676) 2023-02-20 11:10:11 +02:00
pages Convert list elements to button elements for stats tabs in order to enable keyboard navigation (#2526) 2023-01-05 11:45:19 +02:00
reports Realtime dashboard improvements (#2445) 2023-01-02 17:42:57 +02:00
sources Realtime dashboard improvements (#2445) 2023-01-02 17:42:57 +02:00
bar.js Improvements to CSV export (#1427) 2021-11-04 14:20:39 +02:00
current-visitors.js Last updated tooltip (#2576) 2023-01-16 10:30:22 +02:00
more-link.js City level location data (#1449) 2021-11-23 11:39:09 +02:00