@@ -81,16 +81,16 ChartView { | |||
|
81 | 81 | // but the series have their own y-axes to make it possible to control the y-offset |
|
82 | 82 | // of the "signal sources". |
|
83 | 83 | if (type == "line") { |
|
84 |
scopeView.createSeries(ChartView.SeriesTypeLine, "signal 1", |
|
|
85 |
scopeView.createSeries(ChartView.SeriesTypeLine, "signal 2", |
|
|
84 | scopeView.createSeries(ChartView.SeriesTypeLine, "signal 1", axisX, axisY1); | |
|
85 | scopeView.createSeries(ChartView.SeriesTypeLine, "signal 2", axisX, axisY2); | |
|
86 | 86 | } else if (type == "spline") { |
|
87 |
scopeView.createSeries(ChartView.SeriesTypeSpline, "signal 1", |
|
|
88 |
scopeView.createSeries(ChartView.SeriesTypeSpline, "signal 2", |
|
|
87 | scopeView.createSeries(ChartView.SeriesTypeSpline, "signal 1", axisX, axisY1); | |
|
88 | scopeView.createSeries(ChartView.SeriesTypeSpline, "signal 2", axisX, axisY2); | |
|
89 | 89 | } else { |
|
90 |
var series1 = scopeView.createSeries(ChartView.SeriesTypeScatter, "signal 1", |
|
|
90 | var series1 = scopeView.createSeries(ChartView.SeriesTypeScatter, "signal 1", axisX, axisY1); | |
|
91 | 91 | series1.markerSize = 3; |
|
92 | 92 | series1.borderColor = "transparent"; |
|
93 |
var series2 = scopeView.createSeries(ChartView.SeriesTypeScatter, "signal 2", |
|
|
93 | var series2 = scopeView.createSeries(ChartView.SeriesTypeScatter, "signal 2", axisX, axisY2); | |
|
94 | 94 | series2.markerSize = 3; |
|
95 | 95 | series2.borderColor = "transparent"; |
|
96 | 96 | } |
General Comments 0
You need to be logged in to leave comments.
Login now