Skip to content

Commit

Permalink
Merge pull request #23 from dcharles525/multichart
Browse files Browse the repository at this point in the history
Multichart
  • Loading branch information
dcharles525 authored Mar 27, 2021
2 parents 9067681 + d4c46d8 commit c44a6e6
Show file tree
Hide file tree
Showing 11 changed files with 664 additions and 256 deletions.
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
_ignore
build_dev
build
build.sh
build-po.sh
install.sh
*~
build/*
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ some ramblings about the development process and inner-workings of Cairo and Car
#### Compiling & Installing

```
valac --pkg gtk+-3.0 --pkg gee-0.8 --library=Caroline -H Caroline.h Caroline.vala -X -fPIC -X -shared -o Caroline.so
valac --pkg gtk+-3.0 --pkg gee-0.8 Caroline.vapi Sample.vala -X Caroline.so -X -I. -o demo
sudo cp Caroline.so /usr/lib/
./demo
mkdir build
cd build
meson ..
ninja
You now have a linked library that can be accessed by your app!
```

#### Simple Usage
Expand All @@ -34,7 +36,7 @@ A sample application called "Sample.vala" is included in this repo, it contains
```
var carolineWidget = new Caroline(
x, //dataX
y, //dataY
yArray, //dataY
"scatter", //chart type
true, //yes or no for generateColors function (needed in the case of the pie chart),
false // yes or no for scatter plot labels
Expand Down
Loading

0 comments on commit c44a6e6

Please sign in to comment.