Sections
Galaxy Charts XML sections — settings, specs, and tracks.
Galaxy Charts provides three XML sections: settings, specs, and tracks. These sections allow you to define dynamic input parameters, which users can interact with, or static values to configure your plugin.
settings: Contains a single set of input elements displayed to the user for customization.specs: Holds static key/value pairs that configure plugin settings without user interaction.tracks: Includes input elements specific to each data track, allowing customization per track.
Use these sections to tailor the plugin experience based on user input or preset configurations.
Settings Section
The settings section includes an array of input elements that allow users to customize the plugin. These customization options are also available when embedding the plugin in Galaxy workflow reports. Below is an example of a settings section with a single text input element:
<settings>
<input>
<label>Setting: Text</label>
<name>setting_text</name>
<type>text</type>
</input>
...
</settings>
Specs Section
The specs section includes an array of static key-value pairs for general use, such as:
<specs>
<my_key>my_value</my_key>
...
</specs>
Tracks Section
The tracks section includes an array of input elements that allow users to configure individual data tracks, for example:
<tracks>
<input>
<label>Track: Color</label>
<name>track_color</name>
<type>color</type>
</input>
...
</tracks>