Chart Object Attribute

  • Last update:April 17, 2025
  • Overview

    Charts support comprehensive customization, allowing you to create more charts with comments based on basic charts.

    You can customize the axis labels, labels, and tooltips of the coordinate axes. In custom functions for axis labels, this refers to the current value of the coordinate axes. In custom functions for labels and tooltips, this refers to the data point object. The following table introduces some common attributes.

    Single Series Object Attribute

    Attribute

    Type

    Description

    this.points

    Array

    All data points in the current series
    this.nameString

    The name of the current series, consistent with the series name shown in the legend

    this.type

    String

    The chart type of the current series 

    The following figure shows the chart types that are currently included.



    Single Data Point Object Attribute

    AttributeTypeDescription

    this.name

    String

    The area name of the current data point in the area map, such as Jiangsu province and Nantong city

    this.seriesName

    String

    The name of the series where the current data point is located

    this.category

    String

    The name of the category where the data point is located in the axis chart

    this.categoryArrayArrayThe name of the category array where the data point is located in the axis chart with multiple categories

    this.value

    Number

    The value corresponding to the data point on the value axis in the axis chart

    iconNote:
    The value of the scatter chart corresponds to the value of the selected field under Data > Value.
    this.pointsArray

    All the points in the category where the current data point is located in the coordinate axis chart with a category axis

    All the points of different series included in the current area in the area map

    You are not advised to use the attribute in other types of charts.

    this.seriesObjectThe series where the current data point is located

    this.percentage

    NumberThe percentage of the current data point
    this.targetValueNumberThe target value of the gauge (excluding the pointer gauge)

    this.processes[this.processes.length - 1].name

    ObjectThe name of the project where the data point is located in the Gantt chart

    this.startTime

    ObjectThe start time of the current data point in the Gantt chart
    this.finishTimeObjectThe end time of the current data point in the Gantt chart

    this.duration

    ObjectThe duration of the current data point in the Gantt chart

    this.progress

    Number

    The progress of the current data point in the Gantt chart

    this.parent

    Object

    The data object of the parent node in the multi-level pie chart

    iconNote:
    Due to browser compatibility, the custom HTML content written here needs to be modified according to the actual browser (for example, lower versions of the IE browser).

    Attachment List


    Theme: Secondary Development
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    9s后關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy