主权项 |
1. A method for providing data label formatting, the method comprising:
creating a data label for at least one data point associated with a visualization, wherein the data label comprises a reference to at least one data value associated with the at least one data point, the data label comprising a rich data label; receiving a text input to the data label; providing a suggested input for the data label according to the received text input; receiving one of a plurality of different formatting options for formatting the data label, wherein the plurality of different formatting options comprises; a data field selection, a data value selection, a data value range selection, a label shape option, a text formatting option, and a text alignment option; applying one of the plurality of formatting options to format the data label; determining whether the data label is one of a plurality of data labels associated with a range of data values; in response to determining that the data label is one of the plurality of data labels associated with the range of data values, propagating a formatting change to each of the rest of the plurality of data labels; determining whether a change event has occurred on the visualization, wherein the change event comprises at least one of the following: a data sort, a data hide, a data fitter, a data addition, a resize of the visualization, a change in a type of the visualization, and a data deletion; and in response to determining that the change event has occurred on the visualization, updating the display of the formatted data label by automatically adjusting a location of the formatted data label according to a new location of the at least one data point in response to the change event. |