user-interface - 如何在 Kendo UI 中更改迷你图背景颜色

标签 user-interface colors kendo-ui background sparklines

$("#spark-collector").kendoSparkline({
    type: "line",
    data: [
        71, 70, 69, 68, 65, 60, 55, 55, 50, 52,
        73, 72, 72, 71, 68, 63, 57, 58, 53, 55,
        63, 59, 61, 64, 58, 53, 48, 48, 45, 45,
        63, 64, 63, 67, 58, 56, 53, 59, 51, 54
    ],
    valueAxis: {
        min: 0,
        max: 100
    },
    seriesColors: ["blue"],
    tooltip: {
        visible: true
    }
});

如何在 Kendo UI 中更改迷你图背景颜色?

最佳答案

我相信您可以为此使用 PlotArea。请参阅文档。您可以设置背景、边框、边距、不透明度和填充

https://www.telerik.com/kendo-angular-ui/components/charts/api/PlotArea/

关于user-interface - 如何在 Kendo UI 中更改迷你图背景颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49255075/

相关文章:

java - JLabel 的背景变化会改变组件

python - 使用 wxPython 显示 Mac OS X 滑动对话框

javascript - 使用 Kendo UI 上传控件将请求 header 添加到 XmlHttpRequest

kendo-ui - Kendo UI 网格重新排序

c# - 通知 ajax 调用 session 已超时或用户需要重新验证

java - 传递给构造函数的组件不显示

Android Jetpack 撰写 : Keyboard changing from numeric to alphabets after modifying input text

r - rplot_ly scatter中的自定义颜色范围

python - Pyplot 极坐标散点图颜色的标志

css - 仅更改 CSS 中的默认链接颜色