Graph Color Wheel Extension
A visual customization extension that provides an intuitive color wheel interface for customizing graph appearance in modernGraphTool, including advanced line styling options.
Overview
Section titled “Overview”The Graph Color Wheel extension enhances modernGraphTool’s visual customization capabilities by providing an elegant color wheel interface for selecting colors and customizing graph line properties.
It offers precise color control and advanced styling options for creating personalized graph appearances.
Features
Section titled “Features”- Interactive Color Wheel: Intuitive HSL-based color selection interface
- Line Style Customization: Control line dash patterns and spacing
- Real-time Preview: See color changes applied instantly to the graph
- Advanced Controls: Fine-tune hue, saturation, and lightness independently
Technical Specifications
Section titled “Technical Specifications”| Property | Value |
|---|---|
| Extension Name | graph-color-wheel |
| Latest Version | 1.0.0 |
| Minimum Core API Level | 1 |
| Minimum Core Version | 1.0.0 |
| I18N Support | Yes |
Configuration
Section titled “Configuration”{ NAME: "graph-color-wheel", DESCRIPTION: "Graph customizer for modernGraphTool with color wheel and dash customizer", ENABLED: true, I18N_ENABLED: true,}Installation
Section titled “Installation”- Add the
graph-color-wheelfolder to yourextensionsdirectory - Add the configuration to
extensions/extensions.config.js - Enable the extension by setting
ENABLED: true - Restart modernGraphTool to load the extension
Basic Color Selection
Section titled “Basic Color Selection”- Open Color Wheel: Access the color customization interface
- Select Colors: Click and drag on the color wheel to choose colors
- Adjust Parameters: Use HSL sliders for fine-tuning
- Apply Changes: Colors are applied in real-time to the graph
Advanced Line Styling
Section titled “Advanced Line Styling”- Dash Patterns: Customize line dash patterns for different graph elements
- Tick Length: Adjust the length of dash segments
- Space Length: Control spacing between dash segments
Third-party Acknowledgments
Section titled “Third-party Acknowledgments”This extension includes the reinvented-color-wheel library by luncheon:
- Repository: https://github.com/luncheon/reinvented-color-wheel
- License: WTFPL License
The library is bundled as reinvented-color-wheel.min.js for optimal performance and reliability.