Comparing version 3.0.0 to 3.0.2
@@ -65,3 +65,3 @@ import Chart from 'chart.js/auto' | ||
borderWidth: 1, | ||
fill: true, | ||
fill: !context.noFill, | ||
tension: 0.2, | ||
@@ -68,0 +68,0 @@ label: `dataset #${i + 1}`, |
@@ -29,3 +29,2 @@ const rc = require('rc') | ||
autoAlignYAxis: true, | ||
@@ -35,2 +34,5 @@ // show labels on values in the chart | ||
// by default catchart will try to "guess" which side to align the Y values of a data series if there's more than one | ||
disableAutoAlignYAxis: false, | ||
// do not fill the area under chart lines with color | ||
@@ -37,0 +39,0 @@ noFill: false, |
@@ -150,3 +150,3 @@ const hcat = require('hcat') | ||
if (config.autoAlignYAxis) { | ||
if (!config.disableAutoAlignYAxis) { | ||
debug('autoAlignYAxis is enabled') | ||
@@ -153,0 +153,0 @@ const parsed = state.parseFunction(data) |
{ | ||
"name": "catchart", | ||
"version": "3.0.0", | ||
"version": "3.0.2", | ||
"description": "Pipe something from command line to a browser chart", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -21,3 +21,3 @@ const program = require('commander') | ||
value in each row will be considered the label`, config.labelSource) | ||
.option('--autoAlignYAxis', 'automatically align data sets to the left or right based on their values, this is an experimental feature', config.autoAlignYAxis) | ||
.option('--disableAutoAlignYAxis', 'by default catcahrt will try to automatically align data sets to the left or right based on their values', config.disableAutoAlignYAxis) | ||
.option('--showValueLabels', 'show labels on values in the chart', config.showValueLabels) | ||
@@ -38,4 +38,4 @@ .option('--noFill', 'Do not fill the area under the chart line with color', config.noFill) | ||
if (program.autoAlignYAxis === undefined) { | ||
program.autoAlignYAxis = config.autoAlignYAxis | ||
if (program.disableAutoAlignYAxis === undefined) { | ||
program.disableAutoAlignYAxis = config.disableAutoAlignYAxis | ||
} | ||
@@ -42,0 +42,0 @@ |
module.exports = { | ||
mode: 'development', | ||
mode: 'production', | ||
entry: './client.js', | ||
@@ -4,0 +4,0 @@ output: { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
564640
630
1