icCube - 添加标题(header) 导出图表到图片时

icCube - Adding the Title (The header) When export the Chart to Image

我需要 header 在我将图表导出到图像时显示

我的图表是这样的:

但是当我将它导出到图像时它没有 header

谁能帮我解决这个问题,Txs,Marwen

AmChart widget 允许您仅导出 widget 的内容而无需框 header。

您可以使用 AmChart 的 functionality 获得所需的结果。

只需将下面的代码设置为一个值 "Edit... > Widget > Advanced Properties > Extra Options"

:{"allLabels": [
    {
        "text": "Product Sale",
        "size": 32,
        "bold": true,
        "x": 0,
        "y": 0
    }]}

更新

如果您的标题覆盖了图表,您可以尝试更改小部件框的高度和宽度,同时使用 "marginLeft" 和 "marginTop" 选项扩展 "Extra options",这允许您为图表及其标题:

:{"allLabels": [
    {
        "text": "Product Sale",
        "size": 32,
        "bold": true,
        "x": 0,
        "y": 0
    }],
 "marginTop":50,
 "marginLeft":50}