You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/assets/js
Vini Brasil 7b7231677c 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.
4 years ago
..
dashboard Refactor: Graph Dataset functions (#2690) 4 years ago
polyfills 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 5 years ago
app.js 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 5 years ago
embed.content.js Allow custom styles to be passed to embedded iframe (#1522) 5 years ago
embed.host.js Allow custom styles to be passed to embedded iframe (#1522) 5 years ago