Skip to content

Commit

Permalink
Merge pull request #387 from vijithassar/config
Browse files Browse the repository at this point in the history
config cleanup
  • Loading branch information
vijithassar authored Jul 18, 2023
2 parents deef793 + b0e2bf2 commit cf1f41d
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions source/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,26 @@
* @module config
*/

/**
* class name for outer <g> node wrapper
* @type {string}
*/
const WRAPPER_CLASS = 'wrapper'

/**
* increment for positions that are not derived from data
* @type {number}
*/
const GRID = 10

/**
* minimum number of ticks for a continuous scale axis
* @type {number}
*/
const MINIMUM_TICK_COUNT = 3

const RENDER_FREQUENCY = 32

export {
WRAPPER_CLASS,
GRID,
MINIMUM_TICK_COUNT,
RENDER_FREQUENCY
MINIMUM_TICK_COUNT
}

0 comments on commit cf1f41d

Please sign in to comment.