Skip to content

A collection of tools built on top of the QCustomPlot library to enhance user interaction with plots.

Notifications You must be signed in to change notification settings

OmidArdestani/Chart-User-Action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chart User Interaction Library (QCustomPlot and QML)

Overview

The Chart User Interaction Library is a collection of tools built on top of the Chart library (QCustomPlot and QML Chart) to enhance user interaction with plots. It provides various features such as pointer tools, marker placement, area selection, zoom functionality, measurement ruler, and shapes drawing capabilities.

Features

  • Pointer Tool: Allows users to interactively explore the plot by hovering over data points and displaying their values.

    • This tool enables users to get detailed information about individual data points by simply hovering the mouse cursor over them. It enhances data exploration and analysis.
  • Marker Placement: Enables users to place markers on the plot to highlight specific data points or regions.

    • Users can place markers at significant points on the plot to visually emphasize important data or trends. It helps in highlighting specific areas of interest.
  • Area Selection: Allows users to select a region of interest on the plot for further analysis.

    • Users can define custom areas on the plot by dragging the mouse cursor, enabling focused analysis on specific data subsets or intervals.
  • Zoom Functionality: Provides zoom in and out functionality to focus on specific areas of the plot.

    • This tool allows users to zoom in on specific regions of the plot for detailed examination or zoom out to view the entire plot. It enhances data visualization and analysis capabilities.
  • Measurement Ruler: Enables users to measure distances and angles on the plot for precise analysis.

    • Users can measure distances and angles between data points or features on the plot, facilitating accurate quantitative analysis and comparison.
  • Shapes Drawing: Allows users to draw custom shapes on the plot to annotate or highlight specific features.

    • This tool enables users to draw shapes such as rectangles, circles, or polygons directly on the plot to annotate or highlight specific data or regions of interest.

Usage

To use the Chart User Interaction Library in your project, follow these steps:

  1. Installation: Clone the repository or download the source code.
  2. Integration: Include the necessary files in your project and link against the required libraries (e.g., QCustomPlot).
  3. Initialization: Initialize the library and attach it to your QCustomPlot or QML Chart instance.
  4. Configuration: Customize the behavior and appearance of the user interaction tools according to your requirements.
  5. Integration: Integrate the user interaction tools into your application's GUI and connect them to appropriate signals and slots.

For detailed instructions on how to use each feature, refer to the documentation provided in the docs directory.

Screenshots

Here are some screenshots demonstrating the various tools provided by the library:

  • Pointer Tool: Pointer Tool
  • Marker Placement: Marker Placement
  • Area Selection: Area Selection
  • Measurement Ruler: Measurement Ruler
  • Zoom Functionality: Zoom Functionality
  • Shapes Drawing: Shapes Drawing

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A collection of tools built on top of the QCustomPlot library to enhance user interaction with plots.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages