]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Evert Timberg [Tue, 9 Jun 2015 22:24:43 +0000 (18:24 -0400)]
Use a polyfill when Math.log10 does not exist
Tanner Linsley [Mon, 8 Jun 2015 21:57:47 +0000 (15:57 -0600)]
chart.update(animationDuration) support
Tanner Linsley [Mon, 8 Jun 2015 19:14:05 +0000 (13:14 -0600)]
Gulp build
Tanner Linsley [Mon, 8 Jun 2015 19:12:20 +0000 (13:12 -0600)]
Clone in configMerge
Evert Timberg [Sun, 7 Jun 2015 13:48:31 +0000 (09:48 -0400)]
Merge branch 'etimberg-fix/polar-area-angle-fix' into v2.0-dev
Evert Timberg [Sun, 7 Jun 2015 13:48:05 +0000 (09:48 -0400)]
Merge branch 'fix/polar-area-angle-fix' of https://github.com/etimberg/Chart.js into etimberg-fix/polar-area-angle-fix
Conflicts:
src/Chart.Core.js
Evert Timberg [Sun, 7 Jun 2015 13:38:17 +0000 (09:38 -0400)]
Merge pull request #1169 from etimberg/fix/skip-data-type
Only skip when the data is null, not when it is not a number
Tanner Linsley [Sat, 6 Jun 2015 19:13:24 +0000 (13:13 -0600)]
Merge pull request #1172 from etimberg/fix/scale-fit-updates
Scale fit updates
Evert Timberg [Sat, 6 Jun 2015 15:06:40 +0000 (11:06 -0400)]
Make the angle calculations more robust. Also ensure that angles in polar area charts are calculated similarly to angles in doughnut / pie charts
Evert Timberg [Sat, 6 Jun 2015 13:27:03 +0000 (09:27 -0400)]
Change the scale fitting code from 2 pass fit to a 2.5 pass fit. The fit function is now passed a margin object that contains the margins on the left, top, right, and bottom of the scale. This is useful to know if you can draw outside of the width. This is used by the dataset scale so that extra padding is only added for long labels if absolutely required. If there is unused space underneath the vertical axes, that space is used first.
Evert Timberg [Sat, 6 Jun 2015 12:21:16 +0000 (08:21 -0400)]
Bring linear axis labels closer to the tick marks when in a horizontal configuration. Reduced excess whitespace.
Evert Timberg [Sat, 6 Jun 2015 12:12:13 +0000 (08:12 -0400)]
Some improvements to the linear scale. Made the tick marks smaller (5px vs 10px) and tightened up the drawing. Removed the use of maxWidth in ctx.fillText since that is not supported in Safari
Evert Timberg [Fri, 5 Jun 2015 22:03:35 +0000 (18:03 -0400)]
Only skip when the data is null, not when it is not a number
Tanner Linsley [Thu, 4 Jun 2015 22:39:59 +0000 (16:39 -0600)]
Merge pull request #1164 from etimberg/fix/angle-calculation
Fix the angle calculation for slice detection
Tanner Linsley [Thu, 4 Jun 2015 22:39:05 +0000 (16:39 -0600)]
Doughnut/Pie Fixes
Evert Timberg [Thu, 4 Jun 2015 22:31:44 +0000 (18:31 -0400)]
Fix angle calculation in determining which arcs are underneath the event point
Tanner Linsley [Thu, 4 Jun 2015 01:45:14 +0000 (19:45 -0600)]
Gulp Build
Tanner Linsley [Thu, 4 Jun 2015 01:42:37 +0000 (19:42 -0600)]
Merge pull request #1159 from etimberg/feature/v2.0dev-nestedConfig
Nested configs + major code refactors
Evert Timberg [Thu, 4 Jun 2015 00:55:17 +0000 (20:55 -0400)]
Bar config cleanup + some initial docs
Evert Timberg [Thu, 4 Jun 2015 00:49:37 +0000 (20:49 -0400)]
Merge branch 'feature/v2.0dev-nestedConfig' of https://github.com/etimberg/Chart.js into feature/v2.0dev-nestedConfig
Evert Timberg [Thu, 4 Jun 2015 00:49:22 +0000 (20:49 -0400)]
Missed some commas
Tanner Linsley [Thu, 4 Jun 2015 00:47:11 +0000 (18:47 -0600)]
Default global responsive
Evert Timberg [Thu, 4 Jun 2015 00:46:35 +0000 (20:46 -0400)]
Some more line options
Evert Timberg [Thu, 4 Jun 2015 00:33:50 +0000 (20:33 -0400)]
Additional fixes to line chart docs
Evert Timberg [Thu, 4 Jun 2015 00:25:43 +0000 (20:25 -0400)]
Cleaned up line docs a bit and remove unnecessary options
Evert Timberg [Wed, 3 Jun 2015 23:54:34 +0000 (19:54 -0400)]
Cleaned up global config + documentation of global config options
Evert Timberg [Wed, 3 Jun 2015 23:24:29 +0000 (19:24 -0400)]
Reset elements for polar area chart
Evert Timberg [Wed, 3 Jun 2015 23:16:42 +0000 (19:16 -0400)]
Reset elements for donut charts
Evert Timberg [Wed, 3 Jun 2015 22:36:08 +0000 (18:36 -0400)]
Merge branch 'feature/v2.0dev-nestedConfig' of https://github.com/etimberg/Chart.js into feature/v2.0dev-nestedConfig
Evert Timberg [Wed, 3 Jun 2015 22:35:42 +0000 (18:35 -0400)]
Reset elements for bar charts. Bar multi axis demo also shows different colours for each bar.
Tanner Linsley [Wed, 3 Jun 2015 22:31:25 +0000 (16:31 -0600)]
Doughnut and polar hovering/clicking
Tanner Linsley [Wed, 3 Jun 2015 21:25:28 +0000 (15:25 -0600)]
No playground
Tanner Linsley [Wed, 3 Jun 2015 21:25:18 +0000 (15:25 -0600)]
Version bump 2.0.0-alpha
Tanner Linsley [Wed, 3 Jun 2015 21:18:42 +0000 (15:18 -0600)]
example fixes
Tanner Linsley [Wed, 3 Jun 2015 20:45:40 +0000 (14:45 -0600)]
Polar Area
Tanner Linsley [Wed, 3 Jun 2015 20:17:10 +0000 (14:17 -0600)]
Fix
Tanner Linsley [Wed, 3 Jun 2015 20:14:23 +0000 (14:14 -0600)]
Pie Chart
Tanner Linsley [Wed, 3 Jun 2015 18:05:04 +0000 (12:05 -0600)]
Radar Chart skipNull & bezier fixes
Evert Timberg [Wed, 3 Jun 2015 12:02:21 +0000 (08:02 -0400)]
Get closer to having radar charts work. Some issues with the line & point drawing code.
Evert Timberg [Wed, 3 Jun 2015 11:57:50 +0000 (07:57 -0400)]
Fix an issue with bar charts that are not stacked
Evert Timberg [Wed, 3 Jun 2015 00:50:36 +0000 (20:50 -0400)]
Scatter tooltips
Evert Timberg [Wed, 3 Jun 2015 00:48:26 +0000 (20:48 -0400)]
Bind events in scatter chart
Evert Timberg [Wed, 3 Jun 2015 00:44:24 +0000 (20:44 -0400)]
Update scatter chart. Still need to get tooltips working
Evert Timberg [Wed, 3 Jun 2015 00:07:07 +0000 (20:07 -0400)]
Merge branch 'feature/v2.0dev-nestedConfig' of https://github.com/etimberg/Chart.js into feature/v2.0dev-nestedConfig
Evert Timberg [Wed, 3 Jun 2015 00:06:50 +0000 (20:06 -0400)]
Better animations when chart is first initialized.
Tanner Linsley [Tue, 2 Jun 2015 23:29:17 +0000 (17:29 -0600)]
!bar borderWidth
Tanner Linsley [Tue, 2 Jun 2015 23:13:47 +0000 (17:13 -0600)]
no logging
Evert Timberg [Tue, 2 Jun 2015 22:55:41 +0000 (18:55 -0400)]
Merge branch 'feature/v2.0dev-nestedConfig' of https://github.com/etimberg/Chart.js into feature/v2.0dev-nestedConfig
Evert Timberg [Tue, 2 Jun 2015 22:54:18 +0000 (18:54 -0400)]
Animation on refresh
Tanner Linsley [Tue, 2 Jun 2015 22:48:39 +0000 (16:48 -0600)]
Bar Chart Stacked nestedConfig
Tanner Linsley [Tue, 2 Jun 2015 21:14:51 +0000 (15:14 -0600)]
no legend yet... :(
Tanner Linsley [Tue, 2 Jun 2015 21:14:06 +0000 (15:14 -0600)]
Stroked tooltip colors
Tanner Linsley [Tue, 2 Jun 2015 19:42:09 +0000 (13:42 -0600)]
line: skipNull functionality
Evert Timberg [Mon, 1 Jun 2015 00:16:04 +0000 (20:16 -0400)]
Tooltip titles now work in the line chart. Getting ever closer to being done
Evert Timberg [Sun, 31 May 2015 20:55:17 +0000 (16:55 -0400)]
Animations & tool tips show. The title is not correct yet.
Evert Timberg [Sun, 31 May 2015 14:24:53 +0000 (10:24 -0400)]
Add back line fill option. This is set on a per dataset basis, but there is an override in the config. Demo this in the line sample.
Evert Timberg [Sun, 31 May 2015 13:47:10 +0000 (09:47 -0400)]
Check in work from floobits with minor changes to fix some errors
Tanner Linsley [Wed, 27 May 2015 16:28:00 +0000 (10:28 -0600)]
Radar Chart
Tanner Linsley [Wed, 27 May 2015 04:06:20 +0000 (22:06 -0600)]
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev
Conflicts:
src/Chart.PolarArea.js
Tanner Linsley [Wed, 27 May 2015 04:02:41 +0000 (22:02 -0600)]
Polar Area deep data
Evert Timberg [Wed, 27 May 2015 01:16:18 +0000 (21:16 -0400)]
More nested config stuff. Not sure what all of the options in the line config do, but left them in. Ensured that tooltips work.
Evert Timberg [Tue, 26 May 2015 23:30:34 +0000 (19:30 -0400)]
Convert bar chart to use nested config. Noticed that the segmentShowStroke option wasn't used at all.
Evert Timberg [Tue, 26 May 2015 23:11:05 +0000 (19:11 -0400)]
Updated bar chart to use new nested config for bars. Removed unused relativeBars option. barBorderWidth was not used, but seems useful so we will keep it until later refactoring.
Evert Timberg [Tue, 26 May 2015 22:54:36 +0000 (18:54 -0400)]
Use new animation options in the animation service.
Tanner Linsley [Tue, 26 May 2015 22:52:16 +0000 (16:52 -0600)]
Nested globals
Tanner Linsley [Tue, 26 May 2015 22:26:52 +0000 (16:26 -0600)]
Merge pull request #1132 from etimberg/feature/v2.0dev-xy
Scale rewrite for v2.0
Evert Timberg [Sun, 24 May 2015 18:33:12 +0000 (14:33 -0400)]
Moved radial scale into Chat.Scale.js. Registered as "radialLinear" which will allow radialLogarithmic, etc in the future. Updated the polar area and radar charts to use the new scale config. The scales draw, but the points do not. This is no different than the current v2.0 branch
Evert Timberg [Sun, 24 May 2015 01:49:01 +0000 (21:49 -0400)]
Fix the y scales that were missed in the previous check in
Evert Timberg [Sun, 24 May 2015 01:44:50 +0000 (21:44 -0400)]
Clean up some unused config options. Renamed 'show' to 'display' for scales since that was clearer and maintains backwards compatibility.
Evert Timberg [Sun, 24 May 2015 01:21:40 +0000 (21:21 -0400)]
Remove old linear scale
Evert Timberg [Sat, 23 May 2015 22:26:34 +0000 (18:26 -0400)]
Bar chart converted to new scale system. Added bar chart multi axis sample.
Evert Timberg [Sat, 23 May 2015 22:15:57 +0000 (18:15 -0400)]
Use correct tooltip events in each chart
Evert Timberg [Sat, 23 May 2015 21:50:27 +0000 (17:50 -0400)]
Fix line chart multi axis sample title
Evert Timberg [Sat, 23 May 2015 19:19:30 +0000 (15:19 -0400)]
Move line chart over to use new scale config. This adds support for multiple y axes. Added an example demonstrating this.
Evert Timberg [Sat, 23 May 2015 19:18:33 +0000 (15:18 -0400)]
Ensure consistency in the helpers.toRadians name
Evert Timberg [Sat, 23 May 2015 19:18:08 +0000 (15:18 -0400)]
dataset axis to be used in the line chart and the bar chart
Evert Timberg [Sat, 23 May 2015 19:15:04 +0000 (15:15 -0400)]
Rename onHover to events to match the line chart
Evert Timberg [Wed, 20 May 2015 13:03:22 +0000 (09:03 -0400)]
Merge remote-tracking branch 'upstream/v2.0-dev' into feature/v2.0dev-xy
Conflicts:
src/Chart.Core.js
Fixed the sample files & chart type initialize methods so that this.data does not get set to undefined.
Evert Timberg [Wed, 20 May 2015 12:33:26 +0000 (08:33 -0400)]
Initial dataset scale class
Tanner Linsley [Wed, 20 May 2015 07:03:45 +0000 (00:03 -0700)]
Playground and big changes
Evert Timberg [Wed, 20 May 2015 00:33:39 +0000 (20:33 -0400)]
Set new tooltip templates for the scatter chart
Evert Timberg [Tue, 19 May 2015 22:22:05 +0000 (18:22 -0400)]
Clean up the scale service. It's now more of a helper function for fitting the scales. Since each chart needed to know it's scales, there wasn't much point in registering them into the service. When we support overlapping charts, we can do something fancier
etimberg [Tue, 19 May 2015 00:59:21 +0000 (20:59 -0400)]
Fix a drawing bug when drawTicks is false.
etimberg [Tue, 19 May 2015 00:39:59 +0000 (20:39 -0400)]
Created a multi axis sample file. Added an option to draw ticks for the axes. This is useful when in a multi axis scenario so that the axis that does not draw grid lines does not have weird lines.
etimberg [Mon, 18 May 2015 18:19:34 +0000 (14:19 -0400)]
Initial config merge. Handles special cases for objects and arrays and merges smarter than simply replacing the default object. Tested by overriding the vertical axis 0 point colour. Also implemented dataset axis binding. If nothing is specified, the dataset is bound to the first x and y axis.
Evert Timberg [Mon, 18 May 2015 14:27:39 +0000 (10:27 -0400)]
Fix an error in the scale service that prevented the chart from filling the canvas fully.
Evert Timberg [Mon, 18 May 2015 13:39:01 +0000 (09:39 -0400)]
Linear scale drawing improvements. Ensured that the scatter plot configuration has a different line colour for the 0 axis
Evert Timberg [Mon, 18 May 2015 12:51:13 +0000 (08:51 -0400)]
Handle the beginAtZero option for a linear scale. Added a helper for Math.sign
Evert Timberg [Mon, 18 May 2015 12:44:06 +0000 (08:44 -0400)]
The scatter example page now has negative numbers in both directions
Evert Timberg [Mon, 18 May 2015 12:43:38 +0000 (08:43 -0400)]
Remove x label rotation code since we dynamically adjust the number of labels to show and as such do not need to rotate
Evert Timberg [Mon, 18 May 2015 12:27:18 +0000 (08:27 -0400)]
Fix jshint warnings
Evert Timberg [Sun, 17 May 2015 17:29:17 +0000 (13:29 -0400)]
Ensure that you always have at least 2 ticks on the linear axis
Evert Timberg [Sun, 17 May 2015 17:20:37 +0000 (13:20 -0400)]
Initial implementation of a scatter chart. Uses a new style of config from the other charts. For now, the config is not changeable.
Evert Timberg [Sun, 17 May 2015 17:19:37 +0000 (13:19 -0400)]
Add a scatter chart sample
Evert Timberg [Sat, 16 May 2015 23:40:52 +0000 (19:40 -0400)]
Initial check in of the scale service and the scale constructor registration. An initial implementation of a linear scale that can be drawn in both horizontal and vertical orientations.
Evert Timberg [Sat, 16 May 2015 23:38:31 +0000 (19:38 -0400)]
Some helper functions needed for better scales.
Tanner Linsley [Sat, 16 May 2015 05:07:21 +0000 (23:07 -0600)]
Tooltip Position, Active Element Position, Tooltip animation follow
Tanner Linsley [Sat, 16 May 2015 04:45:17 +0000 (22:45 -0600)]
Pie cleanup.
Tanner Linsley [Sat, 16 May 2015 04:34:08 +0000 (22:34 -0600)]
Doughnut/Pie Chart refactor
Tanner Linsley [Sat, 16 May 2015 02:54:01 +0000 (20:54 -0600)]
Prettified, and half way through doughut