Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
added explanation to new option "angleOfStart"
  • Loading branch information
vneri authored Nov 18, 2018
1 parent 8639930 commit fbd5aec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Drawing Options

The drawing options are passed as an object to the "draw" method.
```
circle.draw({end:90,start:0, maxValue:100, titlePosition:"outer-top", titleText:"Consumption", outerCircleColor:'#0085c8', innerCircleColor:'#909081'});
circle.draw({end:90,start:0, maxValue:100, titlePosition:"outer-top", titleText:"Consumption", outerCircleColor:'#0085c8', innerCircleColor:'#909081', angleOfStart:0});
```

There are several drawing options that can influence, how your chart is displayed.
Expand All @@ -61,7 +61,8 @@ There are several drawing options that can influence, how your chart is displaye
<tr><td>maxValue</td><td>optional parameter that overrides 100% with a maximal Value</td></tr>
<tr><td>titleText</td><td>A title for the Chart (less than 12 chars for inner-bottom and inner-top readibility)</td></tr>
<tr><td>titlePosition</td><td>where the title gets displayed, ["outer-bottom" | "outer-top" | "inner-bottom" | "inner-top"]</td></tr>
<tr><td>titleColor</td><td>ovverrides the standard colors for the title</td></tr>
<tr><td>titleColor</td><td>overrides the standard colors for the title</td></tr>
<tr><td>angleOfStart</td><td>overrides the start of the circle. Standard is 90 degrees (3 o'clock)</td></tr>
</table>

Example
Expand Down

0 comments on commit fbd5aec

Please sign in to comment.