Content-Length: 231402 | pFad | https://github.com/graphieros/vue-data-ui/issues/192

D3 [BUG] style.chart.dataLabel.formatter 配置无效 (VueUi3dBar) · Issue #192 · graphieros/vue-data-ui · GitHub
Skip to content

[BUG] style.chart.dataLabel.formatter 配置无效 (VueUi3dBar) #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sunkunGitHub opened this issue May 21, 2025 · 1 comment
Closed
Labels
bug : config Config is not working properly

Comments

@sunkunGitHub
Copy link

{
theme: '',
customPalette: [],
style: {
fontFamily: 'inherit',
shape: 'tube',
chart: {
animation: {
use: true,
speed: 1,
acceleration: 1
},
backgroundColor: '#ffffff00',
color: '#1A1A1Aff',
bar: {
color: '#808080ff',
stroke: '#6376dd00',
strokeWidth: 0,
shadeColor: '#2D353C'
},
box: {
stroke: '#808080ff',
strokeWidth: 0.9999999999999999,
strokeDasharray: 0,
dimensions: {
width: 180,
height: 260,
top: 0,
bottom: 9,
left: 0,
right: 0,
perspective: 18
}
},
title: {
text: 'Title',
color: '#d3d3d3ff',
fontSize: 16,
bold: true,
textAlign: 'left',
paddingLeft: 0,
paddingRight: 0,
subtitle: {
color: '#A1A1A1ff',
text: 'Value: 20',
fontSize: 16,
bold: false
}
},
legend: {
showDefault: false,
fontSize: 10,
color: '#1A1A1Aff',
bold: false,
roundingValue: 0,
roundingPercentage: 0,
prefix: '',
suffix: '',
hideUnderPercentage: 0
},
dataLabel: {
show: true,
bold: false,
color: '#000000ff',
fontSize: 12,
rounding: 0,
formatter: ({value,config})=>{
return '1234';
}
}
}
},
userOptions: {
show: false,
showOnChartHover: false,
keepStateOnChartLeave: false,
position: 'right',
buttons: {
tooltip: false,
pdf: true,
csv: true,
img: true,
table: true,
labels: false,
fullscreen: true,
sort: false,
stack: false,
animation: false,
annotator: true
},
buttonTitles: {
open: 'Open options',
close: 'Close options',
pdf: 'Download PDF',
csv: 'Download CSV',
img: 'Download PNG',
table: 'Toggle table',
fullscreen: 'Toggle fullscreen',
annotator: 'Toggle annotator'
},
print: {
allowTaint: false,
backgroundColor: '#FFFFFFff',
useCORS: false,
onclone: null,
scale: 2,
logging: false
}
},
table: {
show: false,
responsiveBreakpoint: 400,
columnNames: {
series: 'Series',
value: 'Value',
percentage: 'Percentage'
},
th: {
backgroundColor: '#FFFFFFff',
color: '#1A1A1Aff',
outline: 'none'
},
td: {
backgroundColor: '#FFFFFFff',
color: '#1A1A1Aff',
outline: 'none',
roundingValue: 0,
roundingPercentage: 0
}
}

@graphieros graphieros added the bug : config Config is not working properly label May 21, 2025
@graphieros graphieros changed the title [BUG] style.chart.dataLabel.formatter 配置无效 [BUG] style.chart.dataLabel.formatter 配置无效 (VueUi3dBar) May 21, 2025
@graphieros
Copy link
Owner

Fixed in v2.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug : config Config is not working properly
Projects
None yet
Development

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/graphieros/vue-data-ui/issues/192

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy