Skip to content

Commit

Permalink
added missing catAxisLine* and valAxisLine* props (Issue #980)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbrent committed Jul 22, 2021
1 parent 495ea5c commit 6c02bfa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/docs/api-charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ slide.addChart(pres.ChartType.line, dataChartAreaLine, { x: 1, y: 1, w: 8, h: 4
| `catAxisLabelFrequency` | integer | | PPT "Interval Between Labels" | 1-n. Ex: `{ catAxisLabelFrequency: 2 }` |
| `catAxisLabelPos` | string | `nextTo` | category-axis label position | `low`, `high`, or `nextTo` . Ex: `{ catAxisLabelPos: 'low' }` |
| `catAxisLabelRotate` | integer | | category-axis rotation (degrees) | 0-360. Ex: `{ catAxisLabelRotate:45 }` |
| `catAxisLineColor` | string | `000000` | category-axis line color | hex color code. Ex: `{ catAxisTitleColor:'0088CC' }` |
| `catAxisLineShow` | boolean | `true` | show/hide category-axis line | `true` or `false` |
| `catAxisLineSize` | integer | `18` | category-axis font size | 1-256. Ex: `{ titleFontSize:12 }` |
| `catAxisLineStyle` | string | `solid` | category-axis line style | `solid`, `dash`, `dot` |
| `catAxisMajorTickMark` | string | | category-axis major tick mark | `none`, `inside`, `outside`, `cross` |
| `catAxisMajorTimeUnit` | string | | category-axis major time unit | `days`, `months` or `years` |
| `catAxisMaxVal` | integer | | category-axis max value | Integer. Ex: `{ catAxisMaxVal:10 }` |
Expand All @@ -140,7 +143,10 @@ slide.addChart(pres.ChartType.line, dataChartAreaLine, { x: 1, y: 1, w: 8, h: 4
| `valAxisLabelFontFace` | string | `Arial` | value-axis font face | font name. Ex: `{ titleFontFace:'Arial' }` |
| `valAxisLabelFontSize` | integer | `18` | value-axis font size | 1-256. Ex: `{ titleFontSize:12 }` |
| `valAxisLabelFormatCode` | string | `General` | value-axis number format | format string. Ex: `{ axisLabelFormatCode:'#,##0' }` |
| `valAxisLineColor` | string | `000000` | value-axis line color | hex color code. Ex: `{ catAxisTitleColor:'0088CC' }` |
| `valAxisLineShow` | boolean | `true` | show/hide value-axis line | `true` or `false` |
| `valAxisLineSize` | integer | `18` | value-axis font size | 1-256. Ex: `{ titleFontSize:12 }` |
| `valAxisLineStyle` | string | `solid` | value-axis line style | `solid`, `dash`, `dot` |
| `valAxisLogScaleBase` | number | | logarithmic scale | 2-99 |
| `valAxisMajorTickMark` | string | | value-axis major tick mark | `none`, `inside`, `outside`, `cross` |
| `valAxisMajorUnit` | number | `1.0` | value-axis tick steps | Float or whole number. Ex: `{ majorUnit:0.2 }` |
Expand Down

0 comments on commit 6c02bfa

Please # to comment.