vap-visual
Advanced tools
Comparing version 0.3.7 to 0.3.8
@@ -38,3 +38,3 @@ "use strict"; | ||
.attr('height', 24); | ||
slashs.html("\n <line x1=\"0\" y1=\"8\" x2=\"8\" y2=\"0\" ></line>\n <line x1=\"0\" y1=\"16\" x2=\"16\" y2=\"0\" ></line>\n <line x1=\"0\" y1=\"24\" x2=\"24\" y2=\"0\" ></line>\n <line x1=\"8\" y1=\"24\" x2=\"24\" y2=\"8\" ></line>\n <line x1=\"16\" y1=\"24\" x2=\"24\" y2=\"16\" ></line>\n "); | ||
slashs.html(" \n <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" ></rect>\n <line x1=\"0\" y1=\"8\" x2=\"8\" y2=\"0\" ></line>\n <line x1=\"0\" y1=\"16\" x2=\"16\" y2=\"0\" ></line>\n <line x1=\"0\" y1=\"24\" x2=\"24\" y2=\"0\" ></line>\n <line x1=\"8\" y1=\"24\" x2=\"24\" y2=\"8\" ></line>\n <line x1=\"16\" y1=\"24\" x2=\"24\" y2=\"16\" ></line>\n "); | ||
}; | ||
@@ -95,5 +95,5 @@ var linear = function () { | ||
.attr('y', 0) | ||
.attr('width', 8) | ||
.attr('height', 8); | ||
grids.html("\n <rect x=\"0\" y=\"0\" width=\"8\" height=\"8\" />\n <line x1=\"0\" y1=\"4\" x2=\"8\" y2=\"4\" ></line>\n <line x1=\"4\" y1=\"0\" x2=\"4\" y2=\"8\" ></line>\n "); | ||
.attr('width', 4) | ||
.attr('height', 4); | ||
grids.html("\n <rect x=\"0\" y=\"0\" width=\"4\" height=\"4\" />\n <line x1=\"0\" y1=\"2\" x2=\"4\" y2=\"2\" ></line>\n <line x1=\"2\" y1=\"0\" x2=\"2\" y2=\"4\" ></line>\n "); | ||
}; | ||
@@ -100,0 +100,0 @@ slash(); |
@@ -1,1 +0,1 @@ | ||
{"name":"vap-visual","version":"0.3.7","description":"vap-visual - A Visual FrameWork base on d3","main":"index.js","author":"Xiang da"} | ||
{"name":"vap-visual","version":"0.3.8","description":"vap-visual - A Visual FrameWork base on d3","main":"index.js","author":"Xiang da"} |
@@ -328,3 +328,3 @@ "use strict"; | ||
FormatValue: _utils_1.DataUtil.has(this.props, 'valueFormat') ? _utils_1.FormatUtil.buildFormat(this.props.valueFormat) : DEFAULT_FORMAT, | ||
FormatLabel: (_utils_1.DataUtil.has(this.props, 'labelFormat') && typeof this.props.labelField == 'function') ? this.props.labelFormat : DEFAULT_FORMAT, | ||
FormatLabel: (_utils_1.DataUtil.has(this.props, 'labelFormat') && typeof this.props.labelFormat == 'function') ? this.props.labelFormat : DEFAULT_FORMAT, | ||
}; | ||
@@ -331,0 +331,0 @@ this.setState(state); |
Sorry, the diff of this file is not supported yet
571590