ZingChart: Token List

Full Token List

Token

Description

'%chart-height'

The chart's height.
Demo

'%chart-width'

The chart's width.
Demo

'%data-'

Format for custom tokens. The custom token is defined in the plot or series object as an attribute or array using the "data" prefix, e.g., data-fullname or data-extracredit. It is then recalled in the tooltips, value boxes, or crosshair plot labels, e.g., %data-fullname or %data-extracredit
Introduced in: v1.1.0
Demo

'%graphid'

The id# string of the chart in a graphset.
Demo

'%hits'

The number of times that the word occurs in the cloud.
Chart types: Wordcloud
Demo

'%id'

The dom ID of the chart.
Demo

'%joined-value'

The joined value between two sets.
Chart types: Venn-diagram
Demo

'%node-count'
'%N'

The total number of nodes (or data points) in the plot.
Demo

'%node-error-minus'

Error Bars only: the value of the negative error. Refer to the Error Bars Tutorial for more information.
Demo

'%node-error-plus'

Error Bars only: the value of the positive error. Refer to the Error Bars Tutorial for more information.
Demo

'%node-goal-value'
'%g'

The goal node value
Chart types: Bullet
Demo

'%node-index'
'%i'
'%n'

The index number of the current node.
Demo

'%node-percent-value'
'%npv'

Funnel and Pie Charts only: the percentage of the current node value relative to the sum of all nodes.
Introduced in: v2.3.3
Demo

'%node-value'
'%v'

Node value.
Demo

'%node-value-stock-close'
'%close'
'%v3'

The closing (OHLC) node value.
Introduced in: v2.3.0
Chart types: Stock
Demo

'%node-value-stock-high'
'%high'
'%v1'

The highest (OHLC) node value.
Introduced in: v2.3.0
Chart types: Stock
Demo

'%node-value-stock-low'
'%low'
'%v2'

The lowest (OHLC) node value.
Introduced in: v2.3.0
Chart types: Stock
Demo

'%node-value-stock-open'
'%open'
'%v0'

The opening (OHLC) node value.
Introduced in: v2.3.0
Chart types: Stock
Demo

'%node-x'

The x-coordinate pixel position, relative to the top-left corner of the chart.
Introduced in: v2.6.0
Demo

'%node-y'

The y-coordinate pixel position, relative to the top-left corner of the chart.
Introduced in: v2.6.0
Demo

'%offset-values'

The offset value at a specific node.
Introduced in: v2.5.1
Demo

'%output-percent-value'

The percentage of the current node value relative to the previous node value.
Chart types: Funnel
Demo

'%paired-node-value'

The value of the next set. With Set 1, its pair is 2; with Set 2, its pair is 3; and with Set 3, its pair is 1. Refer to the Venn Diagram Tutorial for more information.
Chart types: Venn-diagram
Demo

'%paired-plot-text'

The text of the next set. With Set 1, its pair is 2; with Set 2, its pair is 3; and with Set 3, its pair is 1. Refer to the Venn Diagram Tutorial for more information.
Chart types: Venn-diagram
Demo

'%pie-total-value'

The sum of all the pie slice values.
Introduced in: v2.5.0
Chart types: Pie
Demo

'%plot-#-value'

Standalone Labels only: the node value of a specified plot, provided in the following format: %plot-plot number-value, e.g., %plot-0-value. Note that plot numbering begins at zero.
Introduced in: v2.9.1
Demo

'%plot-average'
'%pavg'

The average value of the nodes in the current plot.
Demo

'%plot-count'
'%P'

The total number of plots (or datasets).
Demo

'%plot-description'

The description of the current plot, pulled from the description attribute in the plot/series object.
Introduced in: v1.1.0
Demo

'%plot-index'
'%p'

The index number of the current plot.
Demo

'%plot-max-index'
'%pxi'

The highest node index number in the current plot.
Demo

'%plot-max-value'
'%pxv'

The highest node value in the current plot.
Demo

'%plot-min-index'
'%pmi'

The lowest node index number in the current plot.
Demo

'%plot-min-value'
'%pmv'

The lowest node value in the current plot.
Demo

'%plot-percent'
'%pper'

The percentage value of the node, relative to the sum of all nodes in that plot. Remember to use the decimals attribute to specify the number of decimal places displayed.
Demo

'%plot-sum'
'%psum'

The sum of the node values in the current plot.
Demo

'%plot-text'
'%t'

The text of the current plot, pulled from the text attribute in the plot/series object.
Demo

'%plot-text-#'
'%t#'

The text of a specified plot, pulled from the text attribute in the plot/series object.
Demo

'%plot-values'
'%pv'

A list of all the node values in the current plot.
Demo

'%scale-index'
'%scale-position'
'%i'
'%c'

Displays the scale-x or scale-y index. Only works on objects directly associated to a scale.
Demo

'%scale-key-label'
'%kl'

Displays the x-axis scale label, pulled from the labels array in the scale-x object. If no labels, the token defaults to display the unparsed value.
Demo

'%scale-key-label-#'
'%kl#'

Displays the x-axis scale label for a specific node, pulled from the labels array in the scale-x object. If no labels, the token defaults to display the unparsed value.
Demo

'%scale-key-text'
'%kt'

Displays the parsed x-axis scale value. If no values, the token defaults to display parsed label data.
Introduced in: v2.7.1
Demo

'%scale-key-text-#'
'%kt#'

Displays the parsed x-axis scale value for a specific node. If no values, the token defaults to display parsed label data.
Introduced in: v2.7.1
Demo

'%scale-key-value'
'%kv'
'%k'

Displays the parsed (formatted, transformed) x-axis scale value. Ignores labels.
Introduced in: v2.7.1
Demo

'%scale-key-value-#'
'%kv#'
'%k#'

Displays the parsed (formatted, transformed) x-axis scale value for a specific node. Ignores labels.
Introduced in: v2.7.1
Demo

'%scale-label'
'%l'
'%t'

Displays the scale-x or scale-y text label. This can be different than the scale values, especially for scale-x.

'%scale-value-label'
'%vl'

Displays the y-axis scale label, pulled from the labels array in the scale-y object.
Introduced in: v2.3.0
Demo

'%scale-value-text'
'%vt'

Displays the unparsed y-axis scale value.
Introduced in: v2.3.0
Demo

'%scale-value-value'
'%vv'

Displays the parsed (i.e., formatted, transformed) y-axis scale value. Ignores labels.
Introduced in: v2.3.0
Demo

'%shared-value'

The shared value between three sets. Refer to the Venn Diagram Tutorial for more information.
Chart types: Venn-diagram
Demo

'%stack-average'

The average value of stacked bars.
Introduced in: v2.6.0
Chart types: Bar
Demo

'%stack-length'

The number of stacked bars.
Introduced in: v2.6.0
Chart types: Bar
Demo

'%stack-total'

The total value of stacked bars.
Introduced in: v2.5.2
Chart types: Bar
Demo

'%text'

The selected word in the cloud.
Chart types: Wordcloud
Demo

'%text'

Displays the text of the box.
Chart types: Treemap
Demo

'%total'

Stacked Charts only: the total value of the current stack.
Demo

'%v0'

The x value of the bubble.
Chart types: Bubble
Demo

'%v1'

The y value of the bubble.
Chart types: Bubble
Demo

'%v2'
'%node-size-value'

The size of the bubble.
Chart types: Bubble
Demo

'%value-size'
'%value'

Displays the value of the box.
Chart types: Treemap
Demo

Token List For Searchability

%chart-height, %chart-width, %data-_____, %data-bubble, %data-day, %data-info#, %data-pie, %data-pv, %data-v, %graphid, %hits, %id, %joined-value, %long-text, %text, %node-count, %N, %node-error-minus, %node-error-plus, %node-goal-value, %g, %node-index, %n, (%i - not documented), %node-max-value, %node-min-value, %node-percent-value, %npv, %node-size-value, %node-value, %v 1, (%node-value)(#)(#), %node-value-stock-close, %close, %node-value-stock-high, %high, %node-value-stock-low, %low, %node-value-stock-open, %open, %node-x, %node-y, %output-percent-value, %paired-node-value, %paired-plot-text, %pie-total-value, %plot-#-value, %plot-average, %pavg, %plot-count, %P, %plot-description, %plot-index, %p, %plot-min-index, %pmi, %plot-min-value, %pmv, %plot-max-index, %pxi, %plot-max-value, %pxv, %plot-percent, %pper, %plot-sum, %psum, %plot-text, %t, %plot-value, %plot-values, %pv, %scale-key-label, %kl, %scale-key-text, %kt, %scale-key-value, %kv, %scale-value, %v2, %scale-value-label, %y, %scale-value-text, %vt, %scale-value-text(#), %vt(#), %scale-value-value, %vv, %shared-value, %short-text, %text, %total

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us