Pie Chart Widget

A Pie chart widget based on the g2plot library. Can be changed to a Donut Chart from the Configurator.

Usage #

Allows displaying of category data with Value. The value in LabelField must be a unique string or number. The values can be used to formatted in the Configurator.

Properties #

PropertyTypeBindingDefaultDescription
DataINFOTABLE<Infotable with a column for Label and a column for Value to be displayed on the chart.
LabelFieldFIELDNAME<Name of the column in the Data infotable specifying the label data.
ValueFieldFIELDNAME<Name of the column in the Data infotable specifying the value data.
GlobalPropertiesJSON<A serialized JSON object that has global parameter names as its keys and data types as values. These are properties can be referenced when using expression formatting
DonutInnerLabelSTRING(localized)<Name of the inside label of a donut pie chart.
SelectionMode1STRINGnoneAllows specifying is selection is enabled within the chart.

Events #

PropertyTypeBindingDescription
DoubleClickEVENT>Triggered when the widget is double clicked .

Expression Format context #

When using Expression Format, other relevant fields can also be referenced.

valueSTRING | NUMBER | DATETIME – For the label field

globalCtxTWJSON – Any TWX value declared on the widget Global Properties and that has a value bound.

ctx: { data: INFOTABLE (entire dataset); row: INFOTABLE row } – Access to the entire dataset and the current row.

ℹ️Note: #

  1. SelectionMode can have the following values: NoneSingleMultiple ↩︎

Was this article helpful?

  • Happy
  • Normal
  • Sad

Contact Support

Please fill in the form below and we will get back to you ASAP!
Support form is only accessible for logged in users.
IQNOX Logo
Log In

Welcome back!

Remember me
Don't have an account? Sign Up

Schedule a Demo

Schedule a personalized demo to explore how our widgets can streamline your workflow, enhance efficiency, and drive better results.
Name
Preffered Date / Time (US Eastern time)
We’ll do our best to accommodate your preferred date and time. If it’s not available, our team will reach out to find a time that works for everyone.