Commit Graph

1031 Commits

Author SHA1 Message Date
Evert Timberg
39252d4633 Use hidden iframe to detect resize + obey max width when getting maximum size. Updated the bar sample to start off hidden. Use the 'show' button to display the graph 2015-09-20 10:30:12 -04:00
Evert Timberg
7d0a7844ea Merge pull request #1469 from nnnick/revert-1467-feature/resize_problems
Revert "Fix resize problems when charts are initially hidden"
2015-09-19 17:53:35 -04:00
Evert Timberg
9474d72491 Revert "Fix resize problems when charts are initially hidden" 2015-09-19 17:52:58 -04:00
Tanner Linsley
862045e49a Merge pull request #1465 from nnnick/v2.0-dev-time-scale-bars-and-combo
Bar and combo support for time scale
2015-09-18 18:59:58 -06:00
Tanner Linsley
efa5ab7ec8 Merge pull request #1467 from etimberg/feature/resize_problems
Fix resize problems when charts are initially hidden
2015-09-18 18:59:39 -06:00
Evert Timberg
97cec8604a Only store the original device context ratio once 2015-09-18 19:22:54 -04:00
Evert Timberg
8d47693448 Make sure that doughnut and polar area inner & outer radius is >= 0 2015-09-18 18:59:55 -04:00
Evert Timberg
db5066cd23 Remove core.responsive file. Responsiveness is added during initialization 2015-09-18 18:44:00 -04:00
Evert Timberg
52c1c09e16 Revert "Commit built version of scale algo changes"
This reverts commit a36a3f8c09.
2015-09-18 18:41:45 -04:00
Evert Timberg
bcbd9a85e6 Merge remote-tracking branch 'upstream/v2.0-dev' into feature/resize_problems
Conflicts:
	gulpfile.js
2015-09-18 18:38:47 -04:00
Tanner Linsley
677c249b61 Bar and combo support for time scale 2015-09-18 11:31:25 -06:00
Evert Timberg
723c85320f Unit tests for logarithmic scale. Fixed some issues in stacked mode since it's not possible for a 0 crossing to occur with a log scale. 2015-09-17 20:29:41 -04:00
Tanner Linsley
92682abbae Merge pull request #1459 from nnnick/v2.0-dev-feature-time-axis
V2.0 dev feature time axis
2015-09-17 15:54:44 -06:00
Evert Timberg
a88d448fc8 Merge pull request #1458 from mennodekker/patch-1
Fixed issue #1163 hover.mode = 'dataset' no longer throws an error
2015-09-17 07:24:15 -04:00
Menno Dekker
5047678799 Tabs to spaces + fixed error 2015-09-17 10:08:42 +02:00
Menno Dekker
5ff2b530b9 Hover on dataset now works just like hover on label
Fixed some errors in de hover on dataset mode, only tested on bar charts
2015-09-17 09:43:02 +02:00
Tanner Linsley
2598446d54 Time Scale Rewrite 2015-09-15 11:40:01 -06:00
Tanner Linsley
c479022c20 Merge pull request #1456 from etimberg/feature/logarithmic_scale
Logarithmic scale
2015-09-14 18:58:17 -06:00
Evert Timberg
eb657bce36 Hide labels when the user returns null from the userCallback. This is the same as the category scale 2015-09-14 20:34:49 -04:00
Evert Timberg
c1f0a39982 Fixes to show all lines but not all labels. Added a variable in the template function to make debugging nicer. 2015-09-14 20:32:23 -04:00
Evert Timberg
e0cdfc6d2d Update logarithmic sample. Created a new logarithmic sample using AC circuit simulation data of an RLC filter. 2015-09-14 19:46:28 -04:00
Evert Timberg
b172a382f1 Remove dead code in logarithmic scale. Fixed a padding bug that had previously been fixed in the linear scale 2015-09-14 19:45:13 -04:00
Evert Timberg
77f90a85ef Merge remote-tracking branch 'upstream/v2.0-dev' into feature/logarithmic_scale 2015-09-14 18:59:52 -04:00
Evert Timberg
e6220f474b Attempting to make resize better 2015-09-14 18:50:52 -04:00
Tanner Linsley
88d30d8c93 Let tooltips use time formatted labels if they exist 2015-09-11 12:20:32 -06:00
Tanner Linsley
c2a7e4c251 Time Scale Base 2015-09-10 22:48:48 -06:00
Tanner Linsley
fe5ef1584b Add Line chart with time scale sample 2015-09-10 22:48:20 -06:00
Tanner Linsley
8762ae2f28 Add moment.js as dependency 2015-09-10 22:46:51 -06:00
Tanner Linsley
98eea76195 Do not test on gulp watch 2015-09-10 22:46:07 -06:00
Evert Timberg
a36a3f8c09 Commit built version of scale algo changes 2015-09-09 20:28:34 -04:00
Evert Timberg
3f75aabbc5 Better scale fitting algorithm to handle when label rotation changes due to the application of margins on the scale 2015-09-05 13:27:06 -04:00
Evert Timberg
6b6c388a1a Helper for resize listener 2015-09-04 22:55:57 -04:00
Evert Timberg
2f38a3894a Get resize listener helper 2015-09-04 22:55:41 -04:00
Evert Timberg
4d51f21831 Merge pull request #1436 from honza889/reverse-radar
Reverse scale on radar / polar area
2015-09-02 17:46:35 -04:00
Jan Kalina
ef539bf4a7 Reverse scale on radar/polar area 2015-09-02 23:21:39 +02:00
Evert Timberg
9cc2c18059 Latest built changes 2015-09-01 18:12:37 -04:00
Evert Timberg
f78ce21da2 Merge pull request #1430 from etimberg/feature/doughnutLabels
Use the dataset label if available
2015-08-31 21:54:33 -04:00
etimberg
eabdbab89e If the element has a label, use that in the tooltip instead of the dataset label. 2015-08-31 21:49:51 -04:00
Evert Timberg
f9eb8b141e Merge pull request #1429 from etimberg/feature/unit-test
Linear scale tests
2015-08-31 20:44:27 -04:00
Evert Timberg
54858b921d More linear scale tests 2015-08-31 20:42:29 -04:00
Evert Timberg
02e0f3f856 Check some more data on the linear scale after fitting 2015-08-30 21:50:41 -04:00
Evert Timberg
c8d5856216 Start testing the linear scale fit code 2015-08-30 21:49:39 -04:00
Evert Timberg
0813924a7e Merge pull request #1428 from etimberg/feature/unit-test
Core.element unit tests
2015-08-30 20:47:34 -04:00
Evert Timberg
702b9553e7 More helper tests 2015-08-30 20:46:26 -04:00
Evert Timberg
bb0a8991df Core element tests 2015-08-30 20:17:24 -04:00
Evert Timberg
e681d8cf23 Better debug page reporting of failed tests 2015-08-30 18:23:53 -04:00
Evert Timberg
c4da135fe0 Merge pull request #1427 from etimberg/feature/unit-test
Adds unit tests for the doughnut & line controllers + line controller updates
2015-08-30 17:54:12 -04:00
Evert Timberg
ce623075e3 Add line controller tests. Fixed an issue when the number of data points changes. When adding the tension to a point, get the same tension as the line if it has been overridden at the dataset level. When setting the hover style of a point, allow setting the radius independently of the regular radius. Use the hoverRadius property in point.custom or the dataset.pointHoverRadius. Allow setting the border width independently at the dataset level. Use dataset.pointHoverBorderWidth. This can be an array or a number. 2015-08-30 17:42:42 -04:00
Evert Timberg
8e9de00529 Doughnut controller tests 2015-08-30 14:56:48 -04:00
Evert Timberg
8f97939f25 Merge pull request #1426 from etimberg/feature/unit-test
Tests for the bar controller + bug fixes
2015-08-30 10:44:42 -04:00