radar-chart
Advanced tools
Comparing version
@@ -16,3 +16,3 @@ //這是gulp工作設定檔案 | ||
.pipe(rename({ suffix: '.min' })) //更改檔名 | ||
.pipe(gulp.dest( './build' )); //目的 | ||
.pipe(gulp.dest( './dist' )); //目的 | ||
}); | ||
@@ -25,3 +25,3 @@ | ||
.pipe(rename({ suffix: '.min' })) | ||
.pipe(gulp.dest('./build')); //目的 (Destination) | ||
.pipe(gulp.dest('./dist')); //目的 (Destination) | ||
}); | ||
@@ -28,0 +28,0 @@ |
{ | ||
"name": "radar-chart", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Radar Chart", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -139,3 +139,4 @@ (function(){ | ||
var val = areaData[index].value; | ||
var radius = (minLength-centerRadius )/ (opt.maxValue - opt.minValue) * val + centerRadius; | ||
//var radius = (minLength-centerRadius )/ (opt.maxValue - opt.minValue) * val + centerRadius; | ||
var radius = (minLength*opt.verticalZoom )/ (opt.maxValue - opt.minValue) * val + centerRadius; | ||
var point = self.getPoint(radius, onePiece * index , minLength ); | ||
@@ -142,0 +143,0 @@ points += point.x + ' ' + point.y + ','; |
Sorry, the diff of this file is not supported yet
25220
0.44%370
0.27%