A blank Power Chart with a valid historical dataset usually indicates an input-shape mismatch. The component does not accept a dataset as its plotting source; it expects complete pen configurations containing the history selections and display settings needed to run its own history queries.
Distinguish history data from pen configuration
Do not bind a history dataset to props.pens. That property represents pen configuration, not returned samples. An array containing only alias, aggregate, and path information is also insufficient because it omits the rest of the configuration expected by the Power Chart.
| Input | Power Chart result |
|---|---|
| Historical query dataset | Not accepted as plot data |
Path-only objects bound to props.pens
|
Incomplete configuration; the chart can remain blank |
Complete native pen configuration with a dynamic data.source
|
The chart can issue its own history query |
Construct complete dynamic pens
Start with a new Power Chart and add one working pen through its navigation tools. Inspect the resulting props.pens entry together with any related props.plots and props.axes configuration. Preserve that structure and bind the dynamic view-level tag path to the pen's data.source. Duplicate the configured pen for each additional dynamic path, changing only the fields that must differ.
- Add a pen with the Power Chart's native controls and confirm that it plots.
- Use the generated pen object as the configuration template.
- Bind the dynamic path to that pen's
data.source. - Copy the complete configured pen for every required series.
- Verify that each pen retains its display, plot, axis, and history-selection information.
Verify the correction
Confirm that props.pens contains configuration objects rather than a dataset returned by a history binding. If the chart still reports that no data is selected, compare the dynamic pen object field by field with a pen created through the native controls. Also inspect props.plots and props.axes; dynamically replacing pens must not discard configuration the chart needs.
A Time Series chart is appropriate when the intended input is already a dataset or series-shaped result. Use the Power Chart when its pen model, native navigation, and self-managed history queries are required.
FAQ
Why is my Power Chart blank even though the history dataset contains data?
The Power Chart does not plot a supplied history dataset. Populate props.pens with complete pen configurations so the chart can perform its own history queries.
Where should I bind a dynamic historical tag path in a Power Chart pen?
Create a working pen with the native controls, then bind the dynamic path to that pen's data.source while preserving the complete pen structure.
Should I use a Power Chart or a Time Series chart for bound history data?
Use Time Series when you want to provide prepared dataset or series data. Use Power Chart when you want complete pen configurations that drive the chart's own history queries.