Evert Timberg
|
5070059ac1
|
Add template option for point labels + test + doc update
|
2016-01-09 14:39:43 -05:00 |
|
etimberg
|
8dca052a16
|
Add suggestedMin, suggestedMax, min, and max options to radialLinear scale
|
2016-01-02 21:03:09 -05:00 |
|
etimberg
|
ff11975648
|
Fix issues identified in PR
|
2015-12-27 11:48:14 -05:00 |
|
Tore Lervik
|
a0c359ee80
|
min/max should have precedence over suggestedMin/suggestedMax
|
2015-12-25 13:53:09 +01:00 |
|
Tore Lervik
|
c078ae15f0
|
Fixed a typo
|
2015-12-21 22:43:20 +01:00 |
|
Tore Lervik
|
86ca455cb6
|
Refactored firstTick null check
|
2015-12-21 22:40:33 +01:00 |
|
Tore Lervik
|
477fc72693
|
firstTick and lastTick can be null if the chart is empty.
|
2015-12-21 22:34:31 +01:00 |
|
Tore Lervik
|
3577d959d0
|
Have to check for undefined because "if (0.0)" would equal false.
|
2015-12-21 20:28:20 +01:00 |
|
Evert Timberg
|
c8d3831152
|
Split out data limits step of scales into it's own step. Wire up callbacks from the options to those in the scale life-cycle. Updated the docs accordingly
|
2015-12-17 09:21:04 -05:00 |
|
Evert Timberg
|
f51d7753bd
|
Update logarithmic algorithm
|
2015-12-15 19:18:18 -05:00 |
|
Evert Timberg
|
3e3912973c
|
Slight improvement to new min/max options so that linear scales look right
|
2015-12-15 18:58:05 -05:00 |
|
Mattias Lyckne
|
968db4e783
|
Adds min and max setting to axes
|
2015-12-14 09:22:34 +01:00 |
|
Evert Timberg
|
28fc6841f3
|
Add tooltipFormat option to time scale options.
Fix bars when displayed on a time scale.
Updated sample files.
|
2015-12-05 19:33:33 -05:00 |
|
Tanner Linsley
|
62bc4e42ec
|
Merge pull request #1736 from nnnick/umd-build
Umd build
|
2015-12-02 20:37:04 -07:00 |
|
etimberg
|
40c8289ce8
|
Time scale uses moment loaded through UMD
|
2015-12-02 21:10:51 -05:00 |
|
etimberg
|
25f061f340
|
Fix test failures
|
2015-12-01 21:07:53 -05:00 |
|
etimberg
|
6b3fd19fa9
|
Time scale will now scale units. For example, it will try 1hr then 2hrs then 3 hrs then 6 hrs then 12 hrs ... until it finds a unit that fits.
|
2015-12-01 20:02:44 -05:00 |
|
etimberg
|
f609452727
|
Allow the user to change the time label display formats
|
2015-11-30 20:42:48 -05:00 |
|
Evert Timberg
|
a90aac7b26
|
Change scale show properties to display and update tests
|
2015-11-24 19:18:15 -05:00 |
|
Evert Timberg
|
ead6247cd8
|
Make sure data is converted to a number in scales when determining min and max. Add tests for this condition to linear, radialLinear, and logarithmic scales.
|
2015-11-17 18:43:18 -05:00 |
|
Tanner Linsley
|
ae9db841f9
|
Merge pull request #1646 from nnnick/fix/1640
Can now replace entire chart data object on the fly
|
2015-11-16 16:10:01 -07:00 |
|
Evert Timberg
|
045d8f6c2a
|
Keep this as NaN so point._view.skip is set correctly
|
2015-11-15 11:16:17 -05:00 |
|
Evert Timberg
|
d61745a311
|
Handle transitioning NaNs
|
2015-11-14 22:49:53 -05:00 |
|
Evert Timberg
|
66bc1dc492
|
Reference data from the main controller wherever possible. Updated tests to account for this.
|
2015-11-13 09:38:35 -05:00 |
|
Pascal Richier
|
d5d63070c6
|
Add options.ticks.maxTicksLimit
To be able to change default '11' value
|
2015-11-07 01:39:30 +01:00 |
|
Pascal Richier
|
97da3347be
|
Add options.ticks.maxTicksLimit
To be able to change default '11' value
|
2015-11-07 01:37:09 +01:00 |
|
Evert Timberg
|
4267d01bc2
|
Log scale + tests
|
2015-11-01 09:07:18 -05:00 |
|
Evert Timberg
|
8324b35506
|
Update linear scale + tests
|
2015-11-01 08:45:12 -05:00 |
|
Evert Timberg
|
cf587122da
|
Merge pull request #1586 from nnnick/fix/begin-at-zero-issue-with-constant-data
Scale expansion if min === max will only occur after ticks.beginAtZero is handled
|
2015-10-31 20:23:57 -04:00 |
|
etimberg
|
3aaa3e27f3
|
suggestedMin and suggestedMax options for scales
|
2015-10-31 11:01:40 -04:00 |
|
etimberg
|
1017934dce
|
tooltips for radar charts are working
|
2015-10-30 20:35:36 -04:00 |
|
etimberg
|
988034cef6
|
Scale expansion if min === max will only occur after ticks.beginAtZero is handled
|
2015-10-27 20:04:21 -04:00 |
|
Tanner Linsley
|
559ee6291e
|
Merge pull request #1567 from nnnick/fix/rounding
Better linear scale tick formatter + small tick generation
|
2015-10-24 01:40:43 -06:00 |
|
Tanner Linsley
|
2cd4b13135
|
radialLInear getPointPosition now rounds crazy decimals
This particular part of testing was succeeding in chrome, and failing
in firefox. It should be rounded anyway.
|
2015-10-24 01:23:13 -06:00 |
|
etimberg
|
0c3d9ec5dd
|
Improved number format function. Also improved the generation of small tick values
|
2015-10-23 22:00:59 -04:00 |
|
Tanner Linsley
|
ea571003d9
|
Scale min/max calculations now disregard bad values
|
2015-10-23 16:41:11 -06:00 |
|
etimberg
|
24e8fe3a4b
|
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev-tooltip-refactor
|
2015-10-21 20:18:23 -04:00 |
|
etimberg
|
e46a2cb074
|
Fix JSHint errors
|
2015-10-20 20:33:51 -04:00 |
|
Tanner Linsley
|
35011e5ae3
|
Support min and max dates on time scale
|
2015-10-19 21:23:01 -06:00 |
|
etimberg
|
bfabac945f
|
Labels are now optional for the time scale.
|
2015-10-19 19:20:08 -04:00 |
|
Evert Timberg
|
86a52d0302
|
Fix some test failures
|
2015-10-18 19:34:56 -04:00 |
|
etimberg
|
2b057cf690
|
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev-tooltip-refactor
|
2015-10-18 18:17:39 -04:00 |
|
etimberg
|
7603b3cc36
|
Time scales now support passing in data as points. Added this to the time scale sample file.
|
2015-10-18 18:00:46 -04:00 |
|
etimberg
|
180209e55c
|
Factor out getLabelForIndex into each scale so we can return appropriate data based on the scale type
|
2015-10-18 16:13:57 -04:00 |
|
Tanner Linsley
|
e0918817ae
|
Testing fixes for time scale
|
2015-10-16 21:14:07 -06:00 |
|
Evert Timberg
|
aaec5efd52
|
Scales will only consider visible datasets when calculating data max and min values
|
2015-10-07 19:37:53 -04:00 |
|
Tanner Linsley
|
ef5cec7f5e
|
Tooltips now using new lineArray format
|
2015-10-06 20:40:25 -06:00 |
|
Tanner Linsley
|
e24406fc9d
|
Ensure tickUnit and displayFormat set before format loop
|
2015-09-29 10:54:42 -06:00 |
|
Tanner Linsley
|
1bdf5edc24
|
Time Scale now requires and warns for Moment.js dep
|
2015-09-28 11:27:47 -06:00 |
|
Evert Timberg
|
bc7d1d39fd
|
Convert the radialLinear scale to derive from Core.scale. Radial linear scale is now fit using the scale service. Added tests for the radialLinear scale.
|
2015-09-27 11:58:20 -04:00 |
|