diff --git a/src/stores/performance.js b/src/stores/performance.js
index d3c34a0..ce7b05a 100644
--- a/src/stores/performance.js
+++ b/src/stores/performance.js
@@ -4,6 +4,8 @@ import apiError from '@/module/apiError.js';
export default defineStore('performanceStore', {
state: () => ({
allPerformanceData: null,
+ freqChartData: null,
+ freqChartOptions: null,
}),
getters: {
performanceData: state => {
@@ -33,6 +35,20 @@ export default defineStore('performanceStore', {
} catch(error) {
apiError(error, 'Failed to load the Performance.');
}
- }
+ },
+ /**
+ * In PrimeVue format
+ * @param {object} freqChartData
+ */
+ setFreqChartData(freqChartData){
+ this.freqChartData = freqChartData;
+ },
+ /**
+ * In PrimeVue format
+ * @param {object} freqChartOptions
+ */
+ setFreqChartOptions(freqChartOptions){
+ this.freqChartOptions = freqChartOptions;
+ },
},
})
diff --git a/src/views/Discover/Performance/FreqChart.vue b/src/views/Discover/Performance/FreqChart.vue
new file mode 100644
index 0000000..4456a2c
--- /dev/null
+++ b/src/views/Discover/Performance/FreqChart.vue
@@ -0,0 +1,25 @@
+
+