Commit Graph

67 Commits

Author SHA1 Message Date
leriel
94eec4a81b add option to fade in bars on hover 2015-03-23 21:43:27 +01:00
Jelte Fennema
4e43a590c4 Fix hover error when hovering over an empty bar chart 2015-01-16 18:27:11 +01:00
Jelte Fennema
e396732fa1 Merge pull request #462 from JelteF/feature-align-left
Add option to align Y labels left
2015-01-08 12:54:56 +01:00
Jelte Fennema
a002a02691 Merge pull request #475 from JelteF/hit-checking-on-click
Hit checking on click
2015-01-08 12:54:39 +01:00
Jelte Fennema
cbd5f8c636 Merge pull request #479 from JelteF/pass-src-barColor-function
Src attribute of a row gets passed to the barColors function as well
2015-01-08 12:53:44 +01:00
Jelte Fennema
763c91e795 Add an option to display the value of a bar in the bar itself (only for horizontal bars) 2014-10-26 13:29:10 +01:00
Jelte Fennema
77011bbae4 Merge pull request #517 from JelteF/off-by-one-bar
Fix off by one error when shown was not given
2014-10-25 17:42:14 +02:00
Jelte Fennema
5f1ea081a5 Fix off by one error when shown was not given 2014-10-25 17:40:54 +02:00
Jelte Fennema
9f26a5efe6 Add grid click return value to check for hitting of a bar 2014-10-15 15:34:44 +02:00
Jelte Fennema
1c66cfc4ac Merge pull request #464 from JelteF/escape-hover
Escape labels in hover
2014-10-15 13:58:05 +02:00
Jelte Fennema
025fb4887a Merge pull request #474 from JelteF/horizontal-bar-click-fix
A small fix that makes the click handler work for horizontal bar charts
2014-08-14 14:41:43 +02:00
Jelte Fennema
1074ec41d3 Src attribute of a row gets passed to the barColors function as well 2014-08-12 18:36:19 +02:00
Jelte Fennema
c83274e5f7 Fix value of @bars 2014-07-30 12:31:38 +02:00
Jelte Fennema
127b2bf271 A small fix that makes the click handler work for horizontal bar charts 2014-07-29 16:37:15 +02:00
Jelte Fennema
77c24f6b70 Escape labels in hover 2014-07-16 23:24:16 +02:00
Jelte Fennema
20ffef7c0e Add option to align Y labels left 2014-07-15 23:56:54 +02:00
Jelte Fennema
0192dd0eee Pass series index to yLabelFormat 2014-07-15 17:55:56 +02:00
Jelte Fennema
a9076b2cc4 Merge pull request #452 from JelteF/feature-noshow 2014-07-15 15:45:22 +02:00
Jelte Fennema
6aa57ca30e Horizontal bar: Fix stacked and vertical grid 2014-07-15 14:57:37 +02:00
Olly Smith
8c100cde86 Merge pull request #448 from JelteF/feature-nolabel
Add feature to pass false as a label so it isn't displayed
2014-07-14 21:13:06 +01:00
Jelte Fennema
715771431c Add horizontal barchart option 2014-07-14 00:15:21 +02:00
Jelte Fennema
877e341ac4 Add feature to not show certain plots, but still show values in the legend 2014-07-12 17:35:21 +02:00
Jelte Fennema
f92f5bf6fb Add feature to pass false as a label so it isn't displayed 2014-07-10 18:54:29 +02:00
Olly Smith
1f0abcd631 Merge branch 'master' of github.com:oesmith/morris.js 2014-06-14 09:58:31 +01:00
Olly Smith
587ecaa784 Fix stacked=false in bar chart (fixes #275). 2014-06-14 09:58:16 +01:00
Olly Smith
aca2438c00 Merge pull request #297 from sudodoki/feature/vertical_grid
feature: configurable vertical segments
2014-06-14 08:07:32 +01:00
sudodoki
e3e50aac93 Implement #311: feature - bar max width 2014-01-30 01:57:57 +02:00
sudodoki
e8d84dca09 feature: configurable vertical segments 2013-11-16 01:53:37 +02:00
Olly Smith
063957657c Add perceptual diffs.
Uses perceptualdiff to catch regressions / changes in charts as they are
displayed by a browser (in this case, phantomjs).

Currently has exemplaries for basic line, area, bar and stacked bar
charts.
2013-11-10 22:09:01 +00:00
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
221c83781d Tidy up.
- The options namespace should stay flat - no nested config values.
- Used single array literal instead of chained Array.concats.
- Added default values to config defaults, instead of using default
  method arguments.
- Tweaked spec.
2013-11-09 17:23:07 +00:00
Olly Smith
415476f7ca Merge branch 'feature/rounded_corners' of https://github.com/sudodoki/morris.js into sudodoki-feature/rounded_corners 2013-11-09 16:56:32 +00:00
sudodoki
c9820c2d44 it is actually only top padding 2013-10-26 00:49:14 +03:00
sudodoki
b79e0be820 feature: optional xAxisLabelPadding 2013-10-26 00:18:16 +03:00
sudodoki
ca371d112a feature: round-corners for bars in barchart 2013-10-25 23:54:18 +03:00
Olly Smith
96e918a297 Merge branch 'disable-individual-axes' of https://github.com/arachnys/morris.js into arachnys-disable-individual-axes
Conflicts:
	morris.min.js
2013-10-12 13:32:25 +01:00
Omar Khan
d1420482f1 axes option can be true, false, 'both', 'x', 'y' 2013-06-23 22:47:44 +01:00
Omar Khan
cccf319f38 Add xaxis and yaxis options for disabling axes individually 2013-06-20 13:09:04 +01:00
Omar Khan
7d46e6e903 Add range selection to Morris.Grid 2013-06-17 18:50:19 +01:00
Olly Smith
8493b6ec25 Fix hideHover (fixes #236). 2013-05-12 17:12:59 +01:00
Olly Smith
6220c40217 Add gridTextFamily and gridTextWeight options. 2013-05-12 16:25:06 +01: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
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
Olly Smith
811dc87d8b Hide chart when setData is passed empty or null array. (Fixes #142) 2013-02-06 07:35:54 +00:00
Christopher Erin
32b06226c2 draw functionality broken out into methods on each class 2012-12-31 12:09:38 -06:00
m.chwedziak
889a2e8cda Click events for current oesmith/master 2012-12-31 12:02:14 +01:00
Christopher Erin
14c56165c6 encapsulate all interaction with raphael. Reuse some methods. Write tests for all svg structural elements and attributes 2012-12-30 13:29:26 -06:00
Olly Smith
4f53479cf0 xLabelMargin optionx. 2012-12-20 19:15:33 +00:00