Gizmo Type: chartgizmo |
Content |
|
chartgizmo |
Description |
The chartgizmo renders a chart graphic in a Dashboard Page Type.
|
You can use a predefined measurement SDI, or enter your own SQL. When entering your own SQL, return both a measurecategory column (varchar) and a measurevalue column (number). |
|
If you are using the date chart, return a measuredate column (date) rather than the measurecategory column. |
|
Use the "Refresh every" property to set how often the Gizmo queries the database and updates the chart. The update is initialized off screen (for smooth updating). Refreshing the Gizmos keeps the current LabVantage connection alive. However, frequent refreshes may reduce system performance. |
NOTE: | The chartgizmo is rendered using the DataChartPage Page Type. This extends the chartgizmo capabilities by revealing the additional capabilities of the DataChartPage Page Type and JFreeChart. |
Example |
![]() |
chartgizmo Properties |
Property Name | Description | ||||||||||||||||||||||||||||||||||||||||||
Gizmo Properties | Defines high-level characteristics of the gizmo:
|
||||||||||||||||||||||||||||||||||||||||||
Query Type | Determines the Query Mode. Which properties to use when building the query
in order to run the Gizmo. If not provided defaults to SQL.
|
||||||||||||||||||||||||||||||||||||||||||
Chart title | title of the chart. | ||||||||||||||||||||||||||||||||||||||||||
Chart Type | Type of graphical representation for display of the retrieved data (Pie Chart, Pie Chart 3D, Bar Chart, Bar Chart 3D, Line Chart, Line Chart 3D, Sparkline, Date Chart). | ||||||||||||||||||||||||||||||||||||||||||
Chart Subtitle | Subtitle of the chart. | ||||||||||||||||||||||||||||||||||||||||||
Show title? | Yes/No shows/hides the Chart title. | ||||||||||||||||||||||||||||||||||||||||||
Monitor ID | Optional identifier of the display monitor in use. | ||||||||||||||||||||||||||||||||||||||||||
SQL | Enter a SQL statement returning columns "measurevalue" and "measurecategory" (for pie and bar charts or "measurevalue" and "measuredate" (for date charts). | ||||||||||||||||||||||||||||||||||||||||||
SDI Aggregate | Properties used to define the SDI Aggregate Query
Type.
|
||||||||||||||||||||||||||||||||||||||||||
SDI List | Properties used to define the SDI List Query
Type.
Parameters can be used in the Properties such as in Query Where: workflowdefid != '[excludeworkflow]' |
||||||||||||||||||||||||||||||||||||||||||
"All" or Others | Specifies whether to use the "All" category or others. | ||||||||||||||||||||||||||||||||||||||||||
Display Axis Labels | Yes/No shows/hides the axis labels. | ||||||||||||||||||||||||||||||||||||||||||
X Axis Label | Label that identifies the X axis value. | ||||||||||||||||||||||||||||||||||||||||||
Y Axis Label | Label that identifies the Y axis value. | ||||||||||||||||||||||||||||||||||||||||||
Show Legend? | Yes/No shows/hides the legend. | ||||||||||||||||||||||||||||||||||||||||||
Deprecated. Yes autoranges the X axis value range. | |||||||||||||||||||||||||||||||||||||||||||
Deprecated. Minimum value of the X axis. | |||||||||||||||||||||||||||||||||||||||||||
Deprecated. Maximum value of the X axis. | |||||||||||||||||||||||||||||||||||||||||||
Autorange Y Axis | Yes autoranges the Y axis value range. | ||||||||||||||||||||||||||||||||||||||||||
Y Minimum | Minimum value of the Y axis. | ||||||||||||||||||||||||||||||||||||||||||
Y Maximum | Maximum value of the Y axis. | ||||||||||||||||||||||||||||||||||||||||||
View URL | Use [measurecategory] and [measureseries] in the URL. | ||||||||||||||||||||||||||||||||||||||||||
View Target | When a link on the chart is clicked which target should be used: _blank (creates a new window) or _parent (Loads into frame). Defaults to _blank. | ||||||||||||||||||||||||||||||||||||||||||
Deprecated. Prefix used when an item is clicked to create a parameter (such as prefix_measurecategory). Defaults to an empty string. | |||||||||||||||||||||||||||||||||||||||||||
Data Chart Page | Overrides any data chart page property for this Gizmo. Add a new Child page to the LV_ChartGizmoPage then select it here. | ||||||||||||||||||||||||||||||||||||||||||
Paint Supplier | Choose to show Charts in a single (Standard) color, or select a Color Scheme. Choose the Standard Color or Color Scheme below. | ||||||||||||||||||||||||||||||||||||||||||
Color Scheme | Choose a color scheme such as cool or vibrant (pre-defined set). | ||||||||||||||||||||||||||||||||||||||||||
Standard Color | Choose a color from the dropdown list, or enter an RGB value. | ||||||||||||||||||||||||||||||||||||||||||
Label Position | How to position category labels (such as "Up 45", or "Down 90"). | ||||||||||||||||||||||||||||||||||||||||||
Tooltip | Expression to determine tooltip shown on mouseover. You can use [measurecategory], [measurepercentage], [measurevalue], [rownumber] and [seriesid]. | ||||||||||||||||||||||||||||||||||||||||||
Vertical Ticklabels | Specifies the orientation of category labels in bar or sparkline charts. Choose "Yes" to display labels vertically. |