This commit is contained in:
Luiz Silva 2025-01-08 06:26:41 -03:00
parent b3915b93c2
commit c87831aa0c
4 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "p-drives",
"version": "0.213.0",
"version": "0.214.0",
"description": "",
"main": "src/index.ts",
"exports": {

View file

@ -14,11 +14,12 @@ export const z_soma_em_barra_vertical: tipo_estrutura_visao_grafico<"z_soma_em_b
filtros,
colunaAgrupamento,
colunaSoma,
exibirComoPorcentagem,
}) => {
if (String(descricao_pelo_usuario || "").trim())
return String(descricao_pelo_usuario || "").trim()
return `Soma de ${colunaSoma} por ${colanuEixoX}${
return `${exibirComoPorcentagem ? "Porcentagem " : "Soma"} de ${colunaSoma} por ${colanuEixoX}${
!filtros?.length
? ""
: `, quando ${filtros