Commit Graph

55 Commits

Author SHA1 Message Date
Olly Smith
68aa4c36f2 Add original data to custom hover callback.
Chart data points are sorted when using parseTime, so indices will not
always match the original data ordering.

Also fixes a couple of event triggers.

Ref: #264.
2013-11-09 20:36:47 +00:00
Olly Smith
88e3fe6211 Automatic resizing.
Fixes #111. It's a costly operation, but it's working.
2013-11-09 19:33:36 +00:00
Olly Smith
c1264caa61 Use local third-party javascript for examples.
Move scripts from spec/lib into third_party, update references.
2013-11-09 16:50:32 +00:00
Olly Smith
05cdc7f3e4 Angled labels. 2013-05-09 22:15:05 +01:00
Marcin Chwedziak
3960ecfcdb adds xLabelsDiagonal options, as asked in #235 2013-05-09 21:21:52 +02:00
Olly Smith
67caadb600 Customizing hover content using default content (fixes #179). 2013-04-14 10:25:14 +01:00
Olly Smith
96530d7576 Fix Y label sizing. 2013-04-14 09:13:31 +01:00
Olly Smith
76921e0f88 Merge branch 'event-handling' of https://github.com/tiraeth/morris.js
Conflicts:
	morris.min.js
2013-04-01 21:29:55 +01:00
Marcin Chwedziak
3a2ab2e909 Merge branch 'master' into event-handling
Conflicts:
	lib/morris.donut.coffee
	morris.js
	morris.min.js
2013-03-31 20:39:32 +02:00
Marcin Chwedziak
3c9fff0aa0 #199, added behaveLikeLine and fillOpacity options, refactored morris.line to separate line and point draw operation 2013-03-31 20:16:35 +02:00
Olly Smith
4cab2bbabb Fix DST handling. 2013-03-14 22:08:19 +00:00
Olly Smith
49a7a02774 Donut label color - fixes #159. 2013-02-06 08:27:13 +00:00
Kristof De Loof
96723e48db Fixed typo in stacked_bars example filename 2013-01-28 23:28:59 +01:00
Olly Smith
d87c0ef8ae Rename strokeColor -> backgroundColor. 2013-01-24 15:38:49 -08:00
Pierre Dulac
1703eb54a9 Add a strokeColor options to the Donut class
to be able to present the donut over another background than a white
one.
2013-01-18 01:11:08 +01:00
m.chwedziak
889a2e8cda Click events for current oesmith/master 2012-12-31 12:02:14 +01:00
Olly Smith
4f53479cf0 xLabelMargin optionx. 2012-12-20 19:15:33 +00:00
Olly Smith
06a2ab3501 Option for hiding axes. 2012-12-20 07:50:16 +00:00
Olly Smith
c82d335976 Tidy up grid option. 2012-12-20 07:44:32 +00:00
Olly Smith
672583b1e7 Option to disable grid drawing.
Merge branch 'issue-114' of github.com:tiraeth/morris.js into no-grid

Conflicts:
	morris.js
	morris.min.js
2012-12-20 07:35:16 +00:00
Olly Smith
a23eb0792c hoverCallback option. 2012-12-19 22:23:36 +00:00
Marcin Chwedziak
849f7ee480 Ability to disable grid drawing in Line, Area, and Bar charts (#114) 2012-12-13 23:05:44 +01:00
Olly Smith
a8ca88e583 Merge branch 'morris-hover' of https://github.com/tiraeth/morris.js into html-hover
Conflicts:
	lib/morris.bar.coffee
	morris.js
	morris.min.js
2012-12-02 22:23:59 +00:00
Elber Ribeiro
5c5e882c6b Adding new example file to staked bars 2012-11-26 14:47:36 -02:00
Elber Ribeiro
4773f909a8 Adding support to stacked bars 2012-11-19 23:23:11 -02:00
Marcin Chwedziak
9bdabf1d0d first version of hover refactored to be 100% html 2012-11-18 20:02:46 +01:00
Olly Smith
236afa4003 Define bar colors with a function. 2012-11-06 08:18:19 +00:00
Marcin Chwedziak
c279b9b0b1 fixes #107, passes data row to formatter function to allow user make usage of it 2012-11-05 19:55:08 +01:00
tiraeth
38a1cdd9ec Added value goals and time events. 2012-11-01 20:17:04 +01:00
Olly Smith
e4f4594fab Back-to-basics bar chart. 2012-10-31 21:58:26 +00:00
tiraeth
69f932d9e6 Morris.Bar + additional updates to Morris.Grid for bars handling 2012-10-31 20:38:09 +01:00
Olly Smith
f72b14f619 Initial area charts. 2012-10-28 18:55:37 +00:00
Olly Smith
f6b1cfe7a0 Line chart working again. 2012-10-22 07:56:40 +01:00
Olly Smith
d5b8071dbb WIP Refactor grid drawing into a base class. 2012-10-21 22:33:49 +01:00
Olly Smith
fbe3ce8201 Formatter option for donut values (#75). 2012-09-20 07:31:31 +01:00
Olly Smith
a1894707e1 Split source, tidy up a little. 2012-09-01 11:04:06 +01:00
Olly Smith
b299d5eb40 WIP: Donut charts. 2012-08-27 22:39:16 +01:00
Olly Smith
d8538d448b Testing #65. 2012-06-26 07:54:04 +01:00
Olly Smith
046903cd6f Title. 2012-06-10 19:48:12 +01:00
Olly Smith
cfd8e6ceb9 Better updating data example. 2012-06-10 19:21:40 +01:00
Olly Smith
dd4f531ddf Update example. 2012-06-10 18:30:51 +01:00
Olly Smith
aa67b1a305 Bugfix: zero value regression (#59). 2012-05-15 22:39:37 +01:00
Olly Smith
f13e9e838f Better support for non-continous data (see #53). 2012-05-10 07:35:24 +01:00
Olly Smith
5e4191060c Fix old IE bugs (mostly in examples rather than library code!) 2012-04-04 22:07:09 +01:00
Olly Smith
564126fbfa Merge xLabelFormat contributions by @jonthornton.
Rename `xLabelsFormat` -> `xLabelFormat` (grammatically better :))

Add note to example to recommend use of `xLabels` option when using
`xLabelFormat`.

Use $.extends rather than setting spec.fmt directly (avoids modifying
the globals).

Add a test.
2012-04-04 20:32:24 +01:00
Jon Thornton
57211d6db2 Added option to customize x-labels. 2012-04-03 11:31:59 -04:00
Olly Smith
e11c28187c Add years example. 2012-04-02 21:28:57 +01:00
Olly Smith
fc4ff279a5 Refactor x-axis labelling. 2012-04-01 22:29:37 +01:00
Olly Smith
bde431ac34 Merge prettifylabels() into commas().
Stop parsing times for labels when @options.parseTime is false.

Tweak examples to show partial data series support.
2012-03-18 19:50:40 +00:00
Olly Smith
ca5675954f Timestamp support. 2012-03-15 21:44:55 +00:00