Mas Agua provides a comprehensive charting system with multiple visualization types. This guide covers creating, configuring, and managing charts.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CspmIT/mas-agua-front/llms.txt
Use this file to discover all available pages before exploring further.
Chart Types Available
The platform supports 11 different chart types:- Porcentaje con Olas - Liquid fill percentage visualization
- Porcentaje Circular - Circular percentage display
- Grafico de torta - Pie chart with rounded edges
- Porcentaje rectangular - Rectangular percentage visualization
- Grafico de linea con superposicion - Overlapping line chart
- Porcentajes con estado - Percentage with pump status
- Speed Gauge - Speed gauge visualization
- Boolean Chart - LED indicator for on/off states
- Múltiple Boolean Chart - Multiple LED indicators
- Board Chart - Dashboard combining multiple visualizations
- Pump Control - Dedicated pump control interface
Accessing Charts Management
Navigate to Charts Table
Go to
/config/allGraphic to view all existing charts and access management features.Creating a New Chart
Click Create Chart Button
From
/config/allGraphic, click the “Crear grafico” button in the top-right corner.Select Chart Type
You’ll be taken to
/config/graphic where you can choose from the available chart types. Each type displays:- Preview image
- Title and description
- Click the card to select that type
Configure Chart Settings
Depending on the selected type, you’ll be redirected to the appropriate configuration page:
- Boolean charts:
/config/graphic/boolean - Multiple Boolean:
/config/graphic/multipleBoolean - Pie charts:
/config/graphic/pie - Board charts:
/config/graphic/board - Pump control:
/config/pumps - Other types:
/config/graphic/{id}
Chart Configuration Elements
Most charts share common configuration elements:Basic Information
- Title: Display name for the chart
- Order: Numeric value controlling display position in dashboards
- Status: Active/Inactive toggle
Data Source Selection
Charts use theSelectVars component to choose data sources:
Choose InfluxDB Variable
Select from available InfluxDB variables that will provide data to the chart.
Editing Existing Charts
Click Edit Button
Click “Editar” in the Actions column. The system routes to the appropriate editor based on chart type:
Modify Configuration
Update any settings as needed. Most editors provide live previews of your changes.
Activating and Deactivating Charts
Inactive charts (status = 0) are hidden from dashboards but remain in the database and can be reactivated at any time.
Boolean Chart Configuration
Boolean charts display LED-style indicators for on/off states:Access Boolean Chart Editor
Navigate to
/config/graphic/boolean for new charts or /config/graphic/boolean/{id} for editing.Configure LED Display
Set custom colors and labels for:
- On state: Color and text when variable = true
- Off state: Color and text when variable = false
Multiple Boolean Chart
Create multiple LED indicators in a single chart:Access Multiple Boolean Editor
Navigate to
/config/graphic/multipleBoolean or /config/graphic/multipleBoolean/{id}.Pie Chart Configuration
Chart Display Order
The Order field controls where charts appear in dashboards:- Lower numbers appear first
- Same order numbers are sorted by creation date
- Leave empty to append to the end
Viewing Charts
Once created and activated, charts appear in:- Main Dashboard:
/chartor/home- displays active charts based on configured tabs - Custom Tabs:
/tabs- charts organized in user-defined tab groups - Board Dashboards:
/boards- charts embedded in board layouts
Best Practices
Naming Conventions
- Use descriptive titles that indicate what’s being measured
- Include units in labels when appropriate (e.g., “Temperature (°C)”)
- Group related charts with similar naming patterns
Organization
- Use the Order field strategically to group related charts
- Deactivate unused charts rather than deleting them
- Create chart type-specific naming prefixes for easier filtering
Performance
- Limit the number of simultaneously active charts (recommend < 50)
- Configure appropriate data refresh intervals
- Use aggregation for historical data charts
Troubleshooting
Chart shows no data- Verify the InfluxDB variable exists and is receiving data
- Check variable permissions and access rights
- Ensure the chart is active (status = 1)
- Confirm chart status is Active
- Check that the chart is assigned to the correct tab
- Verify tab configuration includes the chart type
- PumpControl charts can only be edited via
/config/pumps - Check user permissions for chart editing
- Clear browser cache and refresh
- Verify changes were saved successfully
- Check for JavaScript console errors

