Skip to content

Commit 0535569

Browse files
committed
🐛 classic mode time format 초까지 않나오는 현상 수정
1 parent ca3f3a0 commit 0535569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Paper/XLog/XLog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ class XLog extends Component {
534534
if (xAxisCount < 1) {
535535
xAxisCount = 1;
536536
}
537-
svg.append("g").attr("class", "axis-x").attr("transform", "translate(0," + this.graph.height + ")").call(d3.axisBottom(this.graph.x).tickFormat(d3.timeFormat(this.graph.timeFormat)).ticks(xAxisCount));
537+
svg.append("g").attr("class", "axis-x").attr("transform", "translate(0," + this.graph.height + ")").call(d3.axisBottom(this.graph.x).tickFormat(d3.timeFormat(this.isClassMode() ? this.props.config.timeFormat : this.graph.timeFormat)).ticks(xAxisCount));
538538
// Y축 단위 그리기
539539
let yAxisCount = Math.floor(this.graph.height / this.graph.yAxisHeight);
540540
if (yAxisCount < 1) {

0 commit comments

Comments
 (0)