forked from highcharts/highcharts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error dictionary: cleaned up messages. See highcharts#9421
- Loading branch information
Showing
17 changed files
with
73 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# An error message for cloud users | ||
# Can't plot zero or subzero values on a logarithmic axis | ||
|
||
Unfortunately, there is no helpful message yet. | ||
This error occurs in the following situations: | ||
* If a zero or subzero data value is added to a logarithmic axis | ||
* If the minimum of a logarithimic axis is set to 0 or less | ||
* If the threshold is set to 0 or less | ||
|
||
As of Highcharts 5.0.8 it is possible to bypass this error message by setting `Axis.prototype.allowNegativeLog` to `true` and add custom conversion functions. [View Live Demo](http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/samples/highcharts/yaxis/type-log-negative/">). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Can't link axes of different type | ||
|
||
This error occurs if you are using the linkedTo option to link two axes of | ||
This error occurs when using the `linkedTo` option to link two axes of | ||
different types, for example a logarithmic axis to a linear axis. Highcharts | ||
can't link those because the calculation of ticks, extremes, padding etc. is | ||
can't link these because the calculation of ticks, extremes, padding etc. is | ||
different. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Highcharts expects data to be sorted | ||
|
||
This happens when you are trying to create a line series or a stock chart where | ||
the data is not sorted in ascending X order. For performance reasons, Highcharts | ||
does not sort the data, instead it is required that the implementer pre-sorts | ||
This happens when creating a line series or a stock chart where | ||
the data is not sorted in ascending X order. | ||
|
||
For performance reasons, Highcharts | ||
does not sort the data, instead it requires that the implementer pre-sorts | ||
the data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# Highcharts already defined in the page | ||
|
||
This error happens the second time Highcharts or Highstock is loaded in the same | ||
page, so the `Highcharts` namespace is already defined. Keep in mind that the | ||
`Highcharts.Chart` constructor and all features of Highcharts are included in | ||
Highstock, so if you are running `Chart` and `StockChart` in combination, you | ||
only need to load the highstock.js file. | ||
This error happens if the `Highcharts` namespace already exists when loading | ||
Highcharts or Highstock. | ||
|
||
This is caused by including Highcharts or Highstock more than once. | ||
|
||
Keep in mind that the `Highcharts.Chart` constructor and all features of | ||
Highcharts are included in Highstock, so if using the `Chart` and | ||
`StockChart` constructors in combination, only the `highstock.js` file is required. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# The requested series type does not exist | ||
|
||
This error happens when you are setting `chart.type` or `series.type` to a | ||
series type that isn't defined in Highcharts. A typical reason may be that your | ||
are missing the extension file where the series type is defined, for example in | ||
order to run an `arearange` series you need to load the `highcharts-more.js` | ||
file. | ||
This error happens when setting `chart.type` or `series.type` to a | ||
series type that isn't defined in Highcharts. A typical reason may be that the | ||
module or extension where the series type is defined isn't included. | ||
|
||
For example in order to create an `arearange` series, the | ||
`highcharts-more.js` file must be loaded. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# The requested axis does not exist | ||
|
||
This error happens when you set a series' `xAxis` or `yAxis` property to point | ||
This error happens when setting a series' `xAxis` or `yAxis` property to point | ||
to an axis that does not exist. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Too many ticks | ||
|
||
This error happens when you try to apply too many ticks to an axis, specifically | ||
when you add more ticks than the axis pixel length. | ||
This error happens when applying too many ticks to an axis, specifically | ||
when adding more ticks than the axis pixel length. | ||
|
||
With default value this will not happen, but there are edge cases, for example | ||
With default value this won't happen, but there are edge cases, for example | ||
when setting axis categories and `xAxis.labels.step` in combination with a long | ||
data range, when the axis is instructed to create a great number of ticks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Can't add object point configuration to a long data series | ||
|
||
In Highstock, if you try to add a point using the object literal configuration | ||
syntax, it works only when the number of data points is below the series' | ||
In Highstock, when trying to add a point using the object literal configuration | ||
syntax, it will only work when the number of data points is below the series' | ||
[turboThreshold](https://api.highcharts.com/highstock#plotOptions.series.turboThreshold). | ||
Instead of the object syntax, use the Array syntax. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# Cannot run Point.update on a grouped point | ||
|
||
This happens in Highstock when a point is grouped by data grouping, so there is | ||
no reference to the raw points. | ||
Running `Point.update` in Highstock when a point is grouped by data | ||
grouping is not supported. | ||
|
||
This is not supported because when data grouping is enabled, there won't be any | ||
references to the raw points, which is required by the `Point.update` function. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# WebGL not supported, and no fallback module included | ||
|
||
This happens when your browser does not support WebGL, **and** the canvas | ||
fallback module (`boost-canvas.js`) has not been included OR if the fallback | ||
This happens when the browser doesn't support WebGL, **and** the canvas | ||
fallback module (`boost-canvas.js`) hasn't been included OR if the fallback | ||
module was included **after** the boost module. | ||
|
||
Make sure you include `boost-canvas.js`, and that it's included before | ||
`boost.js`. | ||
If a fallback is required, make sure to include `boost-canvas.js`, and that | ||
it's included before `boost.js`. | ||
|
||
Please note that the fallback module is not intended as a fully-featured one. | ||
Rather, it's a minimal implementation of the WebGL counterpart. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Fallback to export server disabled | ||
|
||
This happens when the offline export module encounters a chart it can not export | ||
successfully, and the fallback to the online export server is disabled. The | ||
offline exporting module will fail for certain browsers, and certain features | ||
(e.g. | ||
This happens when the offline export module encounters a chart that it can't | ||
export successfully, and the fallback to the online export server is disabled. | ||
The offline exporting module will fail for certain browsers, and certain | ||
features (e.g. | ||
[exporting.allowHTML](https://api.highcharts.com/highcharts/exporting.allowHTML) | ||
), depending on the type of image exporting to. For a compatibility overview, | ||
see | ||
[Client Side Export](https://www.highcharts.com/docs/export-module/client-side-export). | ||
|
||
For very complex charts, it is possible that export can fail in browsers that | ||
don't support Blob objects, due to data URL length limits. It is always | ||
For very complex charts, it's possible that exporting fail in browsers that | ||
don't support Blob objects, due to data URL length limits. It's always | ||
recommended to define the | ||
[exporting.error](https://api.highcharts.com/highcharts/exporting.error) | ||
callback if you disable fallback, so that you can provide details to your users | ||
if export is not working for them. | ||
callback when disabling the fallback, so that details can be provided to the end-user | ||
if offline export isn't working for them. |