@hpcc-js/chart
Advanced tools
Comparing version 2.80.2 to 2.80.3
{ | ||
"name": "@hpcc-js/chart", | ||
"version": "2.80.2", | ||
"version": "2.80.3", | ||
"description": "hpcc-js - Viz Chart", | ||
@@ -41,4 +41,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@hpcc-js/api": "^2.12.2", | ||
"@hpcc-js/common": "^2.71.2", | ||
"@hpcc-js/api": "^2.12.3", | ||
"@hpcc-js/common": "^2.71.3", | ||
"@hpcc-js/util": "^2.49.1" | ||
@@ -82,3 +82,3 @@ }, | ||
"homepage": "https://github.com/hpcc-systems/Visualization", | ||
"gitHead": "0fd6fdaaa8b870631c36f8f2e80ddf39065127b8" | ||
"gitHead": "0b196092f8781f2f56a7f688496d1ae9bc229ace" | ||
} |
export const PKG_NAME = "@hpcc-js/chart"; | ||
export const PKG_VERSION = "2.80.2"; | ||
export const BUILD_VERSION = "2.104.5"; | ||
export const PKG_VERSION = "2.80.3"; | ||
export const BUILD_VERSION = "2.104.7"; |
@@ -268,3 +268,3 @@ import { INDChart, ITooltip } from "@hpcc-js/api"; | ||
_texts.style("font-family", context.innerTextFontFamily_exists()?context.innerTextFontFamily():null); | ||
_texts.style("font-family", context.innerTextFontFamily_exists() ? context.innerTextFontFamily() : null); | ||
@@ -437,2 +437,6 @@ const padding = context.innerTextPadding_exists() ? context.innerTextPadding() : 8; | ||
const textColor = isOutside ? null : context.textColor(d.row, d.column, d.value, d.origRow); | ||
// Prevent overlapping labels on stacked columns | ||
const columns = context.columns(); | ||
const hideValue = isOutside && context.yAxisStacked() && columns.indexOf(d.column) !== columns.length - 1; | ||
context.textLocal.get(this) | ||
@@ -445,3 +449,3 @@ .pos(pos) | ||
.colorFill(textColor) | ||
.visible(context.showValue()) | ||
.visible(context.showValue() && !hideValue) | ||
.render() | ||
@@ -448,0 +452,0 @@ ; |
export declare const PKG_NAME = "@hpcc-js/chart"; | ||
export declare const PKG_VERSION = "2.80.2"; | ||
export declare const BUILD_VERSION = "2.104.5"; | ||
export declare const PKG_VERSION = "2.80.3"; | ||
export declare const BUILD_VERSION = "2.104.7"; | ||
//# sourceMappingURL=__package__.d.ts.map |
export declare const PKG_NAME = "@hpcc-js/chart"; | ||
export declare const PKG_VERSION = "2.80.2"; | ||
export declare const BUILD_VERSION = "2.104.5"; | ||
export declare const PKG_VERSION = "2.80.3"; | ||
export declare const BUILD_VERSION = "2.104.7"; | ||
//# sourceMappingURL=__package__.d.ts.map |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4507832
31906
Updated@hpcc-js/api@^2.12.3
Updated@hpcc-js/common@^2.71.3