on 2024 Oct 09 9:02 AM
Hi,
how can i change measure in dynamic reference line with api?
is it possibile?
Thanks
Request clarification before answering.
// Assuming you have a reference to your visualization
const viz = /* your visualization reference */;
const newMeasure = 'SUM(Sales)'; // Example of the new measure
// Update the reference line
viz.setReferenceLine({
measure: newMeasure,
label: 'Updated Sales Reference',
lineType: 'dashed',
color: '#FF5733',
});
// Refresh the visualization to apply changes
viz.refresh();
Note: The newMeasure and other parameters according to your needs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you can change the measure in a dynamic reference line using the API. This typically involves updating the reference line's properties with the new measure data and then refreshing the visualization. Make sure to check the API documentation for specific methods and examples related to your visualization tool.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.