About this project
# ChartJS for Seaside
This project provides a Seaside binding for ChartJS, allowing you to create interactive charts in Seaside web applications built with Pharo Smalltalk.
## Features
- Model-based chart customization using Stylesheet
- Works in local network environments
- Semantic versioning for stable releases
- Compatible with multiple Pharo versions
## Installation
To install ChartJs in your Pharo image:
```Smalltalk
Metacello new
githubUser: 'DuneSt' project: 'ChartJs' commitish: 'master' path: 'src';
baseline: 'ChartJs';
onUpgrade: [ :e | e useIncoming ];
onWarningLog;
load
```
Add to your baseline:
```Smalltalk
spec
baseline: 'ChartJs'
with: [ spec repository: 'github://DuneSt/ChartJs:v1.x.x/src' ]
```
You can specify branch names (#master, #development) or tags (#v1.0.0, #v1.2.) or commit SHAs.
## Getting Started
Add required libraries to your Seaside application:
```Smalltalk
(WAAdmin register: self asApplicationAt: 'myApplication')
addLibrary: ChartJsLibrary;
addLibrary: JQDeploymentLibrary
```
## Examples
Demo application available at: [http://localhost:8080/ChartJsDemo](http://localhost:8080/ChartJs)
Remote demo: [https://demos.ferlicot.fr/ChartJsDemo](https://demos.ferlicot.fr/ChartJsDemo)
Start Seaside server via `World menu > Tools > Seaside Control Panel` and add `ZnZincServerAdaptor`.
## Dependencies
- ChartJs v1.0.1
## Compatibility
| ChartJs version | Compatible Pharo versions |
|---------------|---------------------------|
| v1.x.x | Pharo 61, 70, 80, 90, 10, 11, 12, 13, 14 |
| development | Pharo 61, 70, 80, 90, 10, 11, 12, 13, 14 |
## Contact
For questions or issues, open an issue or contact cyril@ferlicot.fr
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.