Skip to content

Commit

Permalink
Merge pull request #26 from macocci7/use_plotter2d
Browse files Browse the repository at this point in the history
Use Plotter2d
  • Loading branch information
macocci7 authored Aug 23, 2024
2 parents 03627de + f699422 commit 8ad8f93
Show file tree
Hide file tree
Showing 13 changed files with 413 additions and 336 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "macocci7/php-boxplot",
"version": "1.2.2",
"version": "1.3.0",
"description": "it's easy to use for creating boxplots.",
"type": "library",
"require": {
"php": ">=8.1",
"intervention/image": "^3.7",
"macocci7/php-frequency-table": "^1.3",
"macocci7/php-frequency-table": "^1.4",
"fakerphp/faker": "^1.23",
"nette/neon": "^3.4"
"nette/neon": "^3.4",
"macocci7/php-plotter2d": "^0.3"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7",
Expand Down
19 changes: 12 additions & 7 deletions conf/Plotter.neon
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# Configurantion for Macocci7\PhpBoxplot\Plotter

#imageDriver: 'gd'
imageDriver: 'imagick'

canvasWidth: 600
canvasHeight: 500
canvasBackgroundColor: '#ffffff'
plotarea:
backgroundColor:
frameXRatio: 0.8
frameYRatio: 0.7
showAxis: true
axisColor: '#666666'
axisWidth: 1
gridColor: '#999999'
gridWidth: 1
gridHeightPitch: null
gridWidthPitch: null
gridVertical: false
boxWidth: 20
boxBackgroundColors: []
Expand Down Expand Up @@ -52,18 +53,20 @@ colors:
- '#cc99cc'

validConfig:
imageDriver:
type: string
canvasWidth:
type: int
canvasHeight:
type: int
canvasBackgroundColor:
type: colorCode|null
plotarea:
type: array
frameXRatio:
type: float
frameYRatio:
type: float
showAxis:
type: bool
axisColor:
type: colorCode|null
axisWidth:
Expand All @@ -73,12 +76,14 @@ validConfig:
gridWidth:
type: int
gridHeightPitch:
type: int|null
type: number|null
gridWidthPitch:
type: number|null
gridVertical:
type: bool
boxWidth:
type: int
boxBackgroundColor:
boxBackgroundColors:
type: array
boxBorderColor:
type: colorCode|null
Expand Down
Binary file modified examples/img/AdjustDisplayByArray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/img/AdjustDisplayByMethods.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/img/AdjustDisplayByNeon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/img/BasicUsage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/img/BoxplotDetmersReid2023_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/img/BoxplotDetmersReid2023_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/img/BoxplotExampleCase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/img/MultipleDataSet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/img/TransparentBackground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8ad8f93

Please sign in to comment.