我正在使用 Ignite UI igDataChart。该系列的 y 轴未显示具有较大值的列的整个高度。如图所示,任何超过 7 的值都将被截断。在中间的列中,有 3 个的值大于 7。另外 2 个 = 7。右侧突出显示的列的值是 44,如工具提示所示,因此图表知道值,只是不知道正确绘制列。我无法找到一个配置设置来控制它。有谁知道我需要改变什么?
这是配置对象:
$("#CurrentInShopChart").igDataChart({
width: "50%",
height: "600px",
title: "Trucks in shop",
subtitle: "Number of trucks currently in shop by facility",
dataSource: chartData,
axes: [
{
name: "FacilitiesAxis",
type: "categoryX",
title: "Facility",
label: "FACILITY",
labelAngle: -90,
interval: 1
},
{
name: "NumInShopAxis",
type: "numericY",
minimumValue: 0,
title: "Number of trucks in shop",
}
],
series: [
{
showTooltip: true,
name: "Trucks",
type: "column",
isHighlightingEnabled: true,
isTransitionInEnabled: true,
xAxis: "FacilitiesAxis",
yAxis: "NumInShopAxis",
valueMemberPath: "NUMINSHOP"
}
]
});