Back to: Index of cards
Action buttons can be added to your Quiver analysis canvas, time series charts, and dashboards to allow users to write data back to the Ontology; for example, by creating objects, updating properties on existing objects, or modifying object links.
This capability can be used to enhance a variety of workflows, including:
Example 1: Create an Annotation
object instance
Within a time series chart, you can create an object that captures context on an observed phenomenon, such as reasons for a machinery malfunction or a market macro event that affected a stock index. The start and end temporal values of the x-axis selection are passed as inputs to the Create annotation
Ontology Action, resulting in an annotation event. The ability to annotate the plot with multiple events provides greater clarity on the data visuals at hand.
Example 2: Adjust operational values
You can also invoke an Ontology Action to update a property value based on an observed phenomenon. For example, the time series chart below displays two curves that show the predicted total cost per barrel for two types of products, Gasoline (in blue) and Diesel (in red). We can note that today’s actual total cost per barrel (y-axis) for Gasoline (dark blue dots) ranges from 6.35 to 8.45 cents/barrel and is far from the minimal predicted total cost which is 6.01 cents/barrel. To lower the production cost we can adjust the DRA concentration rate from 15 ppm to a value closer to 6.5 ppm. By selecting a range around 6 on the x-axis, we can then select the Adjust DRA level Ontology Action which will be set with the selection boundary values automatically.
To add an Action button to an analysis:
action
or navigate to the Writeback category on the left.To configure an Action button card:
Selecting the Action button displays a form to fill out the inputs and submit the action. In the Action button editor, default inputs can be provided.
For example, in the following image, the Event start
parameter is configured with a default value of January 1, 2010.
Selecting the action button shows January 1, 2010 as the input value for Event start
parameter. Users can still edit this value before submitting the action.
It is possible to expose Ontology Action buttons directly from the selection menu of a time series chart. To add an Action button to a time series chart selection menu:
When an Ontology Action button is added to a time series chart, the inputs to the Ontology action can be parameterzied using the boundary values of the x- or y-axis selection.
To use the selection boundary values as Ontology Action inputs:
In the following example, the selection left and right bounds were mapped to the Event start
and Event end
parameters. Selecting the action button from the time series chart selection menu auto-populates those values.
You can customize the appearance of the button in the Display tab of the Action button editor. You can choose a label, an icon, a color, and a style.