@evergis/charts 2.0.117 → 2.0.120
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/dist/charts/BarChart/drawTooltip/index.d.ts +1 -1
- package/dist/charts/BarChart/drawTooltip/types.d.ts +1 -1
- package/dist/charts/BarChart/types.d.ts +2 -1
- package/dist/charts.cjs.development.js +5 -2
- package/dist/charts.cjs.development.js.map +1 -1
- package/dist/charts.cjs.production.min.js +1 -1
- package/dist/charts.cjs.production.min.js.map +1 -1
- package/dist/charts.esm.js +5 -2
- package/dist/charts.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/charts.esm.js
CHANGED
|
@@ -2333,6 +2333,7 @@ const drawTooltip$2 = _ref => {
|
|
|
2333
2333
|
barWidth,
|
|
2334
2334
|
barPadding,
|
|
2335
2335
|
dynamicTooltipEnable,
|
|
2336
|
+
hideTooltipGroupName,
|
|
2336
2337
|
tooltipY,
|
|
2337
2338
|
tooltipBind,
|
|
2338
2339
|
lineData,
|
|
@@ -2503,7 +2504,7 @@ const drawTooltip$2 = _ref => {
|
|
|
2503
2504
|
barChartTootipFlex.html(() => {
|
|
2504
2505
|
const html = ReactDOMServer.renderToString(React.createElement(TooltipContainer, {
|
|
2505
2506
|
className: barChartClassNames.barChartTooltip
|
|
2506
|
-
}, currData && currData[0] && React.createElement(TooltipGroupName, {
|
|
2507
|
+
}, currData && currData[0] && !hideTooltipGroupName && React.createElement(TooltipGroupName, {
|
|
2507
2508
|
className: barChartClassNames.barChartTooltipGroupName
|
|
2508
2509
|
}, currData[0].groupName), currData && currData.map(_ref5 => {
|
|
2509
2510
|
let {
|
|
@@ -2533,7 +2534,7 @@ const drawTooltip$2 = _ref => {
|
|
|
2533
2534
|
className: barChartClassNames.barChartTooltipName
|
|
2534
2535
|
}, formatTooltipName ? formatTooltipName(name) : name)), React.createElement(Value, {
|
|
2535
2536
|
className: barChartClassNames.barChartTooltipValue
|
|
2536
|
-
}, formatTooltipValue ? formatTooltipValue(value) : format$1(value)));
|
|
2537
|
+
}, formatTooltipValue ? formatTooltipValue(value, name) : format$1(value)));
|
|
2537
2538
|
})));
|
|
2538
2539
|
return html;
|
|
2539
2540
|
});
|
|
@@ -2675,6 +2676,7 @@ const draw$4 = (node, props) => {
|
|
|
2675
2676
|
customBars,
|
|
2676
2677
|
customize,
|
|
2677
2678
|
dynamicTooltipEnable,
|
|
2679
|
+
hideTooltipGroupName,
|
|
2678
2680
|
renderTooltip,
|
|
2679
2681
|
labelPosition,
|
|
2680
2682
|
renderLabel,
|
|
@@ -2861,6 +2863,7 @@ const draw$4 = (node, props) => {
|
|
|
2861
2863
|
barWidth,
|
|
2862
2864
|
barPadding,
|
|
2863
2865
|
dynamicTooltipEnable,
|
|
2866
|
+
hideTooltipGroupName,
|
|
2864
2867
|
tooltipY,
|
|
2865
2868
|
tooltipBind,
|
|
2866
2869
|
formatTooltipValue,
|