more cleanup (better handles for the numeric facet)

git-svn-id: http://google-refine.googlecode.com/svn/trunk@523 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-04-23 22:59:56 +00:00
parent 00e03656c0
commit 02d0374c4f
7 changed files with 7 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -1,5 +1,4 @@
function ScatterplotFacet(div, config, options) {
console.log(div);
this._div = div;
this._config = config;
this._options = options;
@ -196,7 +195,7 @@ ScatterplotFacet.prototype._initializeUI = function() {
};
ScatterplotFacet.prototype._formulateCurrentImageUrl = function() {
return this._formulateImageUrl(ui.browsingEngine.getJSON(false, this), { color: "ff0000" });
return this._formulateImageUrl(ui.browsingEngine.getJSON(false, this), { color: "ff6a00" });
};
ScatterplotFacet.prototype._formulateBaseImageUrl = function() {

View File

@ -44,7 +44,7 @@ DialogSystem.dismissUntil = function(level) {
try {
layer.onCancel();
} catch (e) {
console.log(e);
Gridworks.reportException(e);
}
}
}

View File

@ -166,8 +166,8 @@ img.facet-choice-link {
padding: 5px;
}
.facet-scatterplot-plot {
border: 1px solid #ddd;
margin: 0.5em 0.8em;
border: 1px solid #ccc;
margin: 5px 5px 5px 5px;
position: relative;
}
.facet-scatterplot-image {

View File

@ -22,7 +22,7 @@
.slider-widget-highlight {
position: absolute;
padding: 1px 0px;
border: 1px solid #faa;
border: 1px solid #ff6a00;
top: -2px;
height: 100%;
cursor: move;
@ -34,12 +34,12 @@
height: 100%;
}
.slider-widget-bracket.left {
background: url(../../images/slider-left-bracket.png) no-repeat center right;
background: url(../../images/slider-handle.png) no-repeat center right;
margin-left: -14px;
cursor: e-resize;
}
.slider-widget-bracket.right {
background: url(../../images/slider-right-bracket.png) no-repeat center left;
background: url(../../images/slider-handle.png) no-repeat center left;
margin-left: 2px;
cursor: w-resize;
}