fix: #302. Shouldn't use mod and shouldn't double divide.
This commit is contained in:
@@ -146,7 +146,7 @@ import PerformanceStore from '@/stores/performance.js';
|
||||
import ConformanceStore from '@/stores/conformance.js';
|
||||
import StatusBar from '@/components/Discover/StatusBar.vue';
|
||||
import { setLineChartData } from '@/module/setChartData.js';
|
||||
import { simpleTimeLabel, followTimeLabel, dateLabel,
|
||||
import { simpleTimeLabel, followTimeLabel, getDateLabelByMinMaxDate,
|
||||
setTimeStringFormatBaseOnTimeDifference,
|
||||
mapTimestampToAxisTicksByFormat,
|
||||
getStepSizeOfYTicks,
|
||||
@@ -438,7 +438,7 @@ export default {
|
||||
const maxX = chartData.x_axis.max;
|
||||
const minX = chartData.x_axis.min;
|
||||
const getMoment = (time)=> this.$moment(time).format('YYYY/M/D hh:mm:ss');
|
||||
const getDateLabel = dateLabel;
|
||||
const getDateLabel = getDateLabelByMinMaxDate;
|
||||
let datasets = chartData.data;
|
||||
let xData;
|
||||
let yData;
|
||||
|
||||
Reference in New Issue
Block a user