eleventy-plugin-uncharted 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/renderers/dot.js +1 -1
- package/src/renderers/line.js +1 -1
package/package.json
CHANGED
package/src/renderers/dot.js
CHANGED
|
@@ -22,7 +22,7 @@ export function renderDot(config) {
|
|
|
22
22
|
if (chartType === 'dot') {
|
|
23
23
|
console.warn(
|
|
24
24
|
'[uncharted] Chart type "dot" is deprecated. ' +
|
|
25
|
-
'Migrate to "line" with
|
|
25
|
+
'Migrate to "line" with lines: false, or use "bubble" for sized dots.'
|
|
26
26
|
);
|
|
27
27
|
}
|
|
28
28
|
|
package/src/renderers/line.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { renderDot } from './dot.js';
|
|
2
2
|
|
|
3
3
|
export function renderLine(config) {
|
|
4
|
-
const connectDots = config.
|
|
4
|
+
const connectDots = config.lines !== false; // default true
|
|
5
5
|
return renderDot({ ...config, connectDots, chartType: 'line' });
|
|
6
6
|
}
|