Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dcharles525/Caroline
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharles525 committed Apr 24, 2021
2 parents c28cfd9 + 690eda0 commit a36df93
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ You now have a linked library that can be accessed by your app!

A sample application called "Sample.vala" is included in this repo, it contains a simple application to show off how Caroline works. Below is a bare-bones example of how to interface with Caroline.
```
var carolineWidget = new Caroline (
var carolineWidget = new Caroline.without_colors (
x, //dataX
yArray, //dataY
"scatter", //chart type
chartTypes, //chart types
true, //yes or no for generateColors function (needed in the case of the pie chart),
true, //true for generating hue based colors, and false for random colors
false // yes or no for scatter plot labels
Expand All @@ -61,10 +61,9 @@ for (int i = 0; i < cArray.length; i++){
}
var carolineWidget = new Caroline (
var carolineWidget = new Caroline.with_colors (
x, //dataX
yArray, //dataY
"scatter", //chart type
chartColorArray,
false, //yes or no for generateColors function (needed in the case of the pie chart),
false, //true for generating hue based colors, and false for random colors
Expand Down

0 comments on commit a36df93

Please sign in to comment.