{"description":"<p>Define a condition for when a track should be active and not.</p>\n<p>Can either be a function callback or a configuration object.</p>\n<p>If a function is used, it should return a <code>boolean</code> for whether\nor not the track should be active. The function is called for\neach audio event, and receives a parameter object with <code>time</code>,\nand potentially <code>point</code> and <code>value</code> properties depending on the\ntrack. <code>point</code> is available if the audio event is related to a\ndata point. <code>value</code> is available if the track is used as a\ncontext track, and <code>valueInterval</code> is used.</p>\n","samples":[{"name":"Mapping zones","value":"highcharts/sonification/mapping-zones"}],"typeList":{"names":["function","*"]},"children":[{"description":"<p>Track is only active when <code>prop</code> was above, and is now at or\nbelow this value.</p>\n<p>If both <code>crossingUp</code> and <code>crossingDown</code> are defined, the track\nis active if either condition is met.</p>\n","filename":"ts/Extensions/Sonification/Options.ts","fullname":"sonification.globalTracks.activeWhen.crossingDown","isLeaf":true,"line":399,"lineEnd":408,"name":"crossingDown","typeList":{"names":["number"]},"version":"12.6.0"},{"description":"<p>Track is only active when <code>prop</code> was below, and is now at or\nabove this value.</p>\n<p>If both <code>crossingUp</code> and <code>crossingDown</code> are defined, the track\nis active if either condition is met.</p>\n","filename":"ts/Extensions/Sonification/Options.ts","fullname":"sonification.globalTracks.activeWhen.crossingUp","isLeaf":true,"line":389,"lineEnd":398,"name":"crossingUp","typeList":{"names":["number"]},"version":"12.6.0"},{"description":"<p>Track is only active when <code>prop</code> is below or at this value.</p>\n","filename":"ts/Extensions/Sonification/Options.ts","fullname":"sonification.globalTracks.activeWhen.max","isLeaf":true,"line":383,"lineEnd":388,"name":"max","typeList":{"names":["number"]},"version":"12.6.0"},{"description":"<p>Track is only active when <code>prop</code> is above or at this value.</p>\n","filename":"ts/Extensions/Sonification/Options.ts","fullname":"sonification.globalTracks.activeWhen.min","isLeaf":true,"line":377,"lineEnd":382,"name":"min","typeList":{"names":["number"]},"version":"12.6.0"},{"description":"<p>The point property to compare, for example <code>y</code> or <code>x</code>.</p>\n","filename":"ts/Extensions/Sonification/Options.ts","fullname":"sonification.globalTracks.activeWhen.prop","isLeaf":true,"line":409,"lineEnd":414,"name":"prop","typeList":{"names":["string"]},"version":"12.6.0"}]}