Skip to content

Commit

Permalink
legend docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joewdavies committed Feb 24, 2025
1 parent 8caa4c9 commit 5095f70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,11 @@ In addition to [the default legend parameters](#map-legend), choropleth maps hav
| **shapeWidth** | int | _15_ | The cell width. |
| **shapeHeight** | int | _13_ | The cell heigth. |
| **sepLineLength** | int | _17_ | The separation line length. |
| **decimals** | String | _" - "_ | The number of decimal for the legend labels. |
| **decimals** | String | _0 _ | The number of decimal places for the legend labels. |
| **labelType** | 'ranges' or 'thresholds' | _thresholds_ | The type of legend labels to be generated. |
| **labelOffset** | int | _3_ | The distance between the legend box elements to the corresponding text label. |
| **labelFormatter** | Function | _d3.format("." + decimals + "f")_ | A function used to format the values of the legend labels. |
| **labels** | [] | _null_ | Manually define the labels to be used in the legend as an array |
| **labels** | string[] | _null_ | Manually define the labels to be used in the legend as an array |
| **noData** | boolean | _true_ | Show 'no data' style. |
| **noDataText** | Text | _"No data"_ | 'No data' text label. |

Expand Down

0 comments on commit 5095f70

Please sign in to comment.