Skip to content

Commit

Permalink
skip: 3.10.3-nightly-20240208004548 build [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
netil committed Feb 8, 2024
1 parent f5b2243 commit 12aaaab
Show file tree
Hide file tree
Showing 42 changed files with 123 additions and 90 deletions.
27 changes: 19 additions & 8 deletions dist-esm/billboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
*/
import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format';
import { pointer, select, namespaces, selectAll } from 'd3-selection';
Expand Down Expand Up @@ -17415,7 +17415,7 @@ var shapeArc = {
var c = this.svgArc.centroid(updated);
var _b = c.map(function (v) { return (isNaN(v) ? 0 : v); }), x = _b[0], y = _b[1];
var h = Math.sqrt(x * x + y * y);
var ratio = (_a = ["donut", "pie", "polar"]
var ratio = (_a = ["donut", "gauge", "pie", "polar"]
.filter($$.hasType.bind($$))
.map(function (v) { return config["".concat(v, "_label_ratio")]; })) === null || _a === void 0 ? void 0 : _a[0];
if (ratio) {
Expand Down Expand Up @@ -21028,12 +21028,13 @@ var optGauge = {
* @property {boolean} [gauge.background=""] Set background color. (The `.bb-chart-arcs-background` element)
* @property {boolean} [gauge.fullCircle=false] Show full circle as donut. When set to 'true', the max label will not be showed due to start and end points are same location.
* @property {boolean} [gauge.label.show=true] Show or hide label on gauge.
* @property {Function} [gauge.label.extents] Set customized min/max label text.
* @property {Function} [gauge.label.format] Set formatter for the label on gauge. Label text can be multilined with `\n` character.<br>
* Will pass following arguments to the given function:
* - value {number}: absolute value
* - ratio {number}: value's ratio
* - id {string}: data's id value
* @property {Function} [gauge.label.extents] Set customized min/max label text.
* @property {number|Function} [gauge.label.ratio=undefined] Set ratio of labels position.
* @property {number} [gauge.label.threshold=0] Set threshold ratio to show/hide labels.
* @property {boolean} [gauge.expand=true] Enable or disable expanding gauge.
* @property {number} [gauge.expand.rate=0.98] Set expand rate.
Expand Down Expand Up @@ -21074,6 +21075,7 @@ var optGauge = {
* @see [Demo: enforceMinMax, min/max](https://naver.github.io/billboard.js/demo/#GaugeChartOptions.GaugeMinMax)
* @see [Demo: archLength](https://naver.github.io/billboard.js/demo/#GaugeChartOptions.GaugeArcLength)
* @see [Demo: startingAngle](https://naver.github.io/billboard.js/demo/#GaugeChartOptions.GaugeStartingAngle)
* @see [Demo: labelRatio](https://naver.github.io/billboard.js/demo/#GaugeChartOptions.GaugeLabelRatio)
* @example
* gauge: {
* background: "#eee", // will set 'fill' css prop for '.bb-chart-arcs-background' classed element.
Expand All @@ -21094,6 +21096,14 @@ var optGauge = {
* // 0.1(10%) ratio value means, the minimum ratio to show text label relative to the total value.
* // if data value is below than 0.1, text label will be hidden.
* threshold: 0.1,
*
* // set ratio callback. Should return ratio value
* ratio: function(d, radius, h) {
* ...
* return ratio;
* },
* // or set ratio number
* ratio: 0.5
* },
*
* // disable expand transition for interaction
Expand Down Expand Up @@ -21132,8 +21142,9 @@ var optGauge = {
gauge_background: "",
gauge_fullCircle: false,
gauge_label_show: true,
gauge_label_format: undefined,
gauge_label_extents: undefined,
gauge_label_format: undefined,
gauge_label_ratio: undefined,
gauge_label_threshold: 0,
gauge_enforceMinMax: false,
gauge_min: 0,
Expand Down Expand Up @@ -21166,8 +21177,8 @@ var optPie = {
* @property {object} pie Pie object
* @property {boolean} [pie.label.show=true] Show or hide label on each pie piece.
* @property {Function} [pie.label.format] Set formatter for the label on each pie piece.
* @property {number} [pie.label.threshold=0.05] Set threshold ratio to show/hide labels.
* @property {number|Function} [pie.label.ratio=undefined] Set ratio of labels position.
* @property {number} [pie.label.threshold=0.05] Set threshold ratio to show/hide labels.
* @property {boolean|object} [pie.expand=true] Enable or disable expanding pie pieces.
* @property {number} [pie.expand.rate=0.98] Set expand rate.
* @property {number} [pie.expand.duration=50] Set expand transition time in ms.
Expand Down Expand Up @@ -21238,8 +21249,8 @@ var optPie = {
*/
pie_label_show: true,
pie_label_format: undefined,
pie_label_threshold: 0.05,
pie_label_ratio: undefined,
pie_label_threshold: 0.05,
pie_expand: {},
pie_expand_rate: 0.98,
pie_expand_duration: 50,
Expand Down Expand Up @@ -23233,7 +23244,7 @@ var zoomModule = function () {
var defaults = {};
/**
* @namespace bb
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
*/
var bb = {
/**
Expand All @@ -23243,7 +23254,7 @@ var bb = {
* bb.version; // "1.0.0"
* @memberof bb
*/
version: "3.10.3-nightly-20240207004551",
version: "3.10.3-nightly-20240208004548",
/**
* Generate chart
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-bubblecompare.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -104,7 +104,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.10.3-nightly-20240207004551";
Plugin.version = "3.10.3-nightly-20240208004548";
return Plugin;
}());
var Plugin$1 = Plugin;
Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-sparkline.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -279,7 +279,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.10.3-nightly-20240207004551";
Plugin.version = "3.10.3-nightly-20240208004548";
return Plugin;
}());
var Plugin$1 = Plugin;
Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-stanford.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -493,7 +493,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.10.3-nightly-20240207004551";
Plugin.version = "3.10.3-nightly-20240208004548";
return Plugin;
}());
var Plugin$1 = Plugin;
Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-tableview.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -121,7 +121,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.10.3-nightly-20240207004551";
Plugin.version = "3.10.3-nightly-20240208004548";
return Plugin;
}());
var Plugin$1 = Plugin;
Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-textoverlap.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -269,7 +269,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.10.3-nightly-20240207004551";
Plugin.version = "3.10.3-nightly-20240208004548";
return Plugin;
}());
var Plugin$1 = Plugin;
Expand Down
2 changes: 1 addition & 1 deletion dist/billboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
*/
/*-- Chart --*/
.bb svg {
Expand Down
27 changes: 19 additions & 8 deletions dist/billboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
Expand Down Expand Up @@ -19362,7 +19362,7 @@ function getAttrTweenFn(fn) {
x = _c$map[0],
y = _c$map[1],
h = Math.sqrt(x * x + y * y);
let ratio = (_filter$map = ["donut", "pie", "polar"].filter($$.hasType.bind($$)).map(function (v) {
let ratio = (_filter$map = ["donut", "gauge", "pie", "polar"].filter($$.hasType.bind($$)).map(function (v) {
_newArrowCheck(this, _this7);
return config[v + "_label_ratio"];
}.bind(this))) == null ? void 0 : _filter$map[0];
Expand Down Expand Up @@ -23209,12 +23209,13 @@ function convertDataToTreemapData(data) {
* @property {boolean} [gauge.background=""] Set background color. (The `.bb-chart-arcs-background` element)
* @property {boolean} [gauge.fullCircle=false] Show full circle as donut. When set to 'true', the max label will not be showed due to start and end points are same location.
* @property {boolean} [gauge.label.show=true] Show or hide label on gauge.
* @property {Function} [gauge.label.extents] Set customized min/max label text.
* @property {Function} [gauge.label.format] Set formatter for the label on gauge. Label text can be multilined with `\n` character.<br>
* Will pass following arguments to the given function:
* - value {number}: absolute value
* - ratio {number}: value's ratio
* - id {string}: data's id value
* @property {Function} [gauge.label.extents] Set customized min/max label text.
* @property {number|Function} [gauge.label.ratio=undefined] Set ratio of labels position.
* @property {number} [gauge.label.threshold=0] Set threshold ratio to show/hide labels.
* @property {boolean} [gauge.expand=true] Enable or disable expanding gauge.
* @property {number} [gauge.expand.rate=0.98] Set expand rate.
Expand Down Expand Up @@ -23255,6 +23256,7 @@ function convertDataToTreemapData(data) {
* @see [Demo: enforceMinMax, min/max](https://naver.github.io/billboard.js/demo/#GaugeChartOptions.GaugeMinMax)
* @see [Demo: archLength](https://naver.github.io/billboard.js/demo/#GaugeChartOptions.GaugeArcLength)
* @see [Demo: startingAngle](https://naver.github.io/billboard.js/demo/#GaugeChartOptions.GaugeStartingAngle)
* @see [Demo: labelRatio](https://naver.github.io/billboard.js/demo/#GaugeChartOptions.GaugeLabelRatio)
* @example
* gauge: {
* background: "#eee", // will set 'fill' css prop for '.bb-chart-arcs-background' classed element.
Expand All @@ -23275,6 +23277,14 @@ function convertDataToTreemapData(data) {
* // 0.1(10%) ratio value means, the minimum ratio to show text label relative to the total value.
* // if data value is below than 0.1, text label will be hidden.
* threshold: 0.1,
*
* // set ratio callback. Should return ratio value
* ratio: function(d, radius, h) {
* ...
* return ratio;
* },
* // or set ratio number
* ratio: 0.5
* },
*
* // disable expand transition for interaction
Expand Down Expand Up @@ -23313,8 +23323,9 @@ function convertDataToTreemapData(data) {
gauge_background: "",
gauge_fullCircle: !1,
gauge_label_show: !0,
gauge_label_format: undefined,
gauge_label_extents: undefined,
gauge_label_format: undefined,
gauge_label_ratio: undefined,
gauge_label_threshold: 0,
gauge_enforceMinMax: !1,
gauge_min: 0,
Expand Down Expand Up @@ -23347,8 +23358,8 @@ function convertDataToTreemapData(data) {
* @property {object} pie Pie object
* @property {boolean} [pie.label.show=true] Show or hide label on each pie piece.
* @property {Function} [pie.label.format] Set formatter for the label on each pie piece.
* @property {number} [pie.label.threshold=0.05] Set threshold ratio to show/hide labels.
* @property {number|Function} [pie.label.ratio=undefined] Set ratio of labels position.
* @property {number} [pie.label.threshold=0.05] Set threshold ratio to show/hide labels.
* @property {boolean|object} [pie.expand=true] Enable or disable expanding pie pieces.
* @property {number} [pie.expand.rate=0.98] Set expand rate.
* @property {number} [pie.expand.duration=50] Set expand transition time in ms.
Expand Down Expand Up @@ -23419,8 +23430,8 @@ function convertDataToTreemapData(data) {
*/
pie_label_show: !0,
pie_label_format: undefined,
pie_label_threshold: .05,
pie_label_ratio: undefined,
pie_label_threshold: .05,
pie_expand: {},
pie_expand_rate: .98,
pie_expand_duration: 50,
Expand Down Expand Up @@ -25772,7 +25783,7 @@ let _defaults = {};

/**
* @namespace bb
* @version 3.10.3-nightly-20240207004551
* @version 3.10.3-nightly-20240208004548
*/
const bb = {
/**
Expand All @@ -25782,7 +25793,7 @@ const bb = {
* bb.version; // "1.0.0"
* @memberof bb
*/
version: "3.10.3-nightly-20240207004551",
version: "3.10.3-nightly-20240208004548",
/**
* Generate chart
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
Expand Down
2 changes: 1 addition & 1 deletion dist/billboard.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/billboard.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 12aaaab

Please sign in to comment.