on ‎2024 Dec 12 1:19 PM
Hello everyone,
in my story i have a numeric point chart with three primary values. With a button click i want to remove the three values and add two other ones.
does anybody know how i have to wright the script, that this will work?
unfortunately, everything i tried does not work.
thanks a lot.
Request clarification before answering.
Hi,
try this:
change 'Chart_2' and 'ID OF YOUR MEASURE' accordingly.
if you want to add multiple measures you can do it one after another like in row 7 or you use the same technique from removing the measures.
var measure = Chart_2.getMeasures(Feed.ValueAxis);
for (var i = 0; i < measure.length; i++) {
Chart_2.removeMeasure(measure[i], Feed.ValueAxis);
}
Chart_2.addMeasure("ID OF YOUR MEASURE", Feed.ValueAxis);br
edgar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.