Commit f8365207 authored by Administrator's avatar Administrator

smooth only 15 data points instead of 30

parent c7467c0d
......@@ -20,7 +20,7 @@ class ActivityFormPowerChart extends StatelessWidget {
var smoothedRecords = Event.toIntDataPoints(
attribute: LapIntAttr.formPower,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivityGroundTimeChart extends StatelessWidget {
var smoothedRecords = Event.toDoubleDataPoints(
attribute: LapDoubleAttr.groundTime,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivityHeartRateChart extends StatelessWidget {
var smoothedRecords = Event.toIntDataPoints(
attribute: LapIntAttr.heartRate,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivityLegSpringStiffnessChart extends StatelessWidget {
var smoothedRecords = Event.toDoubleDataPoints(
attribute: LapDoubleAttr.legSpringStiffness,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivityPowerChart extends StatelessWidget {
var smoothedRecords = Event.toIntDataPoints(
attribute: LapIntAttr.power,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivityPowerPerHeartRateChart extends StatelessWidget {
var smoothedRecords = Event.toDoubleDataPoints(
attribute: LapDoubleAttr.powerPerHeartRate,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivityPowerRatioChart extends StatelessWidget {
var smoothedRecords = Event.toDoubleDataPoints(
attribute: LapDoubleAttr.powerRatio,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivitySpeedPerHeartRateChart extends StatelessWidget {
var smoothedRecords = Event.toDoubleDataPoints(
attribute: LapDoubleAttr.speedPerHeartRate,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivityStrideRatioChart extends StatelessWidget {
var smoothedRecords = Event.toDoubleDataPoints(
attribute: LapDoubleAttr.strideRatio,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivityStrydCadenceChart extends StatelessWidget {
var smoothedRecords = Event.toDoubleDataPoints(
attribute: LapDoubleAttr.strydCadence,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
......@@ -19,7 +19,7 @@ class ActivityVerticalOscillationChart extends StatelessWidget {
var smoothedRecords = Event.toDoubleDataPoints(
attribute: LapDoubleAttr.verticalOscillation,
records: records,
amount: 30,
amount: 15,
);
List<Series<dynamic, num>> data = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment