You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Lloeaf
changed the title
ios上更新数据导致柱形不显示,报rror evaluating injected lavaSeript Thie is possibly due to anunsupported retunn typel Tiy adding true to the end of yourinectedJavaScript string Error Domain=WKErrorDornain Code-4"岁JavaScript导常" Userinfo(WkJavaScriptExceptionLinefumber=0WkJavaSciiptExceptionMessagem SyntaxError: Can't create duplicatevariable 'dispatchAction’, Wk.avaScriptExceptionColumnNumber=0NSLocalizedDescription=发了JavaScript再常 Stack Source ad
ios上更新数据导致柱形不显示,
Jan 5, 2024
let pieOption1 = {
grid: {
left: '19%', // 调整xAxis的宽度,可以根据实际情况调整具体数值
right: '10%' // 调整xAxis的宽度,可以根据实际情况调整具体数值
},
title: {
text:
${dataval.title} ${PluginStrings.unit}
,subtext: dataval.subtext,
textStyle: {
color: DarkMode.getColorScheme() === 'dark' ? '#ffffff' : '#000000'
}
},
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow"
},
// formatter: function (params) {
// return
${params[0].name}: ${params[0].value} ${params[0].seriesName}
;// }
},
xAxis: {
type: 'category',
data: dataval.xAxisdata,
nameLocation: 'start',
axisLabel: {
interval: dataval.xAxisdata.length <= 7 ? 0 : 'auto'
}
},
yAxis: {
type: 'value',
axisLabel: {
interval: 1
}
},
series: [
{
name: PluginStrings.unit,
data: dataval.seriesdata,
type: 'bar',
barWidth: "40%",
nameLocation: "start",
itemStyle: {
color: '#3398DB' // 将柱子颜色改为绿色
}
}
]
};
return <View style={{ height: 'auto', paddingTop: 20, marginLeft: SdkStyles.common.padding, width: Ratio.width - (SdkStyles.common.padding * 1),
alignItems: 'center', justifyContent: 'center' }}>
;
The text was updated successfully, but these errors were encountered: