Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
azimabadi
Creator III
Creator III

Removing Gauge Segments in Macro

Hi All,

i have some Gauge charts on my dashbord. I want to read the configuration data of this Gauges from an excel table so every cleint can customize his guages settings ( as number of segments, Boundrys, color and ... ).

But first i need to remove the existing segments from chart and then create segments based on data read from excel table.

Creating new segments is simple, but i could't find any way to remov the segments existed in chart first.

I do all of the functions in a macro. That means i need help on deleteing existing segments from a gauge chart in macro.

Best Regards

Peyman

4 Replies
azimabadi
Creator III
Creator III
Author

any idea?

Not applicable

Hi Peyman,

Did you manage to find a solution?

I'm also interested in define gauges properties with macro, but I don't know which properties can be defined.

Would appreciate your kind help.

Thanks!

azimabadi
Creator III
Creator III
Author

Hi urbrain,

i couldn't find any solution for the problem for now.

but i think there is a way to do this with macro.

i will appreciate if you post here a feedback when you find the right way.

Best Regards

Peyman

Not applicable

Hi Peyman,

i solved the problem by deleting the gauges and re-creating them after reload.

In this post the example to delete ( close ) the gauges:

http://community.qlik.com/message/400835#400835 .

After reload I delete all linked gauges, then create the new gauges and assigne them to some container, but sometimes I find old gauges in my container ( I call them linked ghosts ).

I hope you can try this solution and you can give me a feedback on your experience.

Thanks in advance

Corrado.