Skip to content

onedionys/onedionys-charting-library-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to One Dionys - Charting Library Integration! 👋

Functions for integrating graphics libraries such as Chart.js or D3.js into web applications. 💖

💾 Requirements

  • Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
  • Internet - Because many use CDN and to make it easier to find solutions to all problems.

🎯 How To Use

Example Syntax

const integrateChartingLibrary = require('charting-library-integration');

// Sample data and options
const data = [10, 20, 30, 40, 50];
const options = { title: 'Sample Line Chart' };

// Render a line chart
const chart = integrateChartingLibrary('line', data, options);

// Access chart properties
console.log(chart.type); // Output: 'line'
console.log(chart.data); // Output: [10, 20, 30, 40, 50]
console.log(chart.options); // Output: { title: 'Sample Line Chart' }

Explanation

  • chartType: Type of chart to be rendered ('line', 'bar', 'pie', etc.).
  • data: Data to be visualized on the chart.
  • options: Options for configuring the chart (e.g., colors, labels, tooltips).

Return Value

  • type: Type of chart rendered.
  • data: Data used for rendering the chart.
  • options: Options used for configuring the chart.

📆 Release Date

  • v1.0.0 : 08 March 2024
  • v1.0.1 : 11 March 2024
  • v4.0.0 : 11 March 2024
  • v4.0.1 : 12 March 2024
  • v4.0.2 : 18 March 2024
  • v5.0.0 : 31 March 2024

🧑 Author

📝 License

  • Copyright © 2024 One Dionys
  • One Dionys - Charting Library Integration is an open source project licensed under the MIT license

☕️ Suppport & Donation

Love One Dionys - Charting Library Integration? Support this project by donating or sharing with others in need.

Made with ❤️ One Dionys