Commit 7972e44b authored by David Anderson's avatar David Anderson
Browse files

typos

parent 331b42e3
......@@ -60,7 +60,7 @@ calling new ChartCanvas() defines a new chart container for you. The constructor
All Charts contain a data list that is made up of data points.
* <strong> data: T | Undefined</strong>
* This is the data that is assoacited with this point. Anytime you need to do something with this specific point, store what you need here. This can be set either when the point as a contructor paramater or set directly later.
* This is the data that is associated with this point. Anytime you need to do something with this specific point, store what you need here. This can be set either when the point as a constructor parameter or set directly later.
*<strong> getExtent( chart: BaseChart ): Extent
* Return the extent x and y bounds of the shape that the given chart drew for this point.
......@@ -219,7 +219,7 @@ All Axis will have these properties and configs unless otherwise specified.
* Set the zoom level for this axis. Values between 0 and 1, zoom out from the default view. Values greater than 1 zoom in.
### CategoricalAxis\<T\> <small>extends BaseAxis</small>
CategoricalAxis are axis non continuous domains. They require explicitCategories to be set. And any value datapoint that cannot find a cateogry will throw an error, so they should be filtered out before given to a list. By default, the size of each category will be the same such that when combined, they will fill the chart.
CategoricalAxis are axis non continuous domains. They require explicitCategories to be set. And any value datapoint that cannot find a category will throw an error, so they should be filtered out before given to a list. By default, the size of each category will be the same such that when combined, they will fill the chart.
* <strong>explicitCategories</strong>( value: T ):
* An array of the categories that make up this axis domain. In order for changes in this to be detected, chartCanvas.beginRender() must be called.
......@@ -342,7 +342,7 @@ interface EventReport {
```
---
## Debugging ( debugLogger.enabled=true )
ChartCanvas, Charts, and Axis objects all have an object property called debugLogger. If you set its enabled flag, to true, it will print out various debug information.This is very very verbose. To help with the amount of information, You can set the logPrefix to prefix each message an object prints with the prefix. By default, it will use window.console.error to log debug information, bt you can overwrite its log method to anything youd like. The object is defined as.
ChartCanvas, Charts, and Axis objects all have an object property called debugLogger. If you set its enabled flag, to true, it will print out various debug information.This is very very verbose. To help with the amount of information, You can set the logPrefix to prefix each message an object prints with the prefix. By default, it will use window.console.error to log debug information, bt you can overwrite its log method to anything you like. The object is defined as.
```
class DebugLogger{
logPrefix: string = '' // string to prefix any message from this logger.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment