From 04bae6bd00104c1256a39dee39cfbe2b5ba3ef4b Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Thu, 10 Dec 2020 15:54:13 -0700 Subject: [PATCH] format --- js/LabelSet.js | 1 + js/TickMarkSet.js | 1 + 2 files changed, 2 insertions(+) diff --git a/js/LabelSet.js b/js/LabelSet.js index f480004..9ec1cb5 100644 --- a/js/LabelSet.js +++ b/js/LabelSet.js @@ -24,6 +24,7 @@ class LabelSet extends Path { * @param {Object} [options] */ constructor( chartModel, axisOrientation, spacing, options ) { + options = merge( { value: 0, // appear on the axis by default edge: null, // 'min' or 'max' put the ticks on that edge of the chart (takes precedence over value) diff --git a/js/TickMarkSet.js b/js/TickMarkSet.js index 27bff8e..03efbb6 100644 --- a/js/TickMarkSet.js +++ b/js/TickMarkSet.js @@ -23,6 +23,7 @@ class TickMarkSet extends Path { * @param {Object} [options] */ constructor( chartModel, axisOrientation, spacing, options ) { + options = merge( { value: 0, // appear on the axis by default edge: null, // 'min' or 'max' put the ticks on that edge of the chart (takes precedence over value)