- users active is recorded when users logges in - add active broker and active customer multi axis line chart - add filter option of 30 days and 7 days
12 lines
375 B
JavaScript
12 lines
375 B
JavaScript
import axios from 'axios';
|
|
import {Chart, registerables} from "chart.js";
|
|
|
|
Chart.register(...registerables)
|
|
|
|
window.axios = axios;
|
|
window.Chart = Chart;
|
|
|
|
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
|
window.axios.defaults.headers.common['Accept'] = 'application/json';
|
|
window.axios.defaults.headers.common['Content-Type'] = 'application/json';
|