public void TimeSeriesChartSecondOrderResponseTest() { var startTimestamp = DateTime.Today; var table = SecondOrderGraphWithValueIssues(startTimestamp); var endTimestamp = table.Last().Key; var timeSeriesChart = new TimeSeriesChart(); var result = timeSeriesChart.ChartDataFor(table, new AxisLimits(startTimestamp, endTimestamp, new Dimension(0.7, 1.6)), new Size(800, 600)); result = WebFunctions.AsImg(result); AssertChartImage(result, SecondOrderResponseLimitedYFile, nameof(TimeSeriesChartSecondOrderResponseTest)); }
internal string ChartInHtmlFor(MeasurementComparisonDictionary sourceData, AxisLimits limits, Size size) { var chartInBase64 = ChartDataFor(sourceData, limits, size); return(WebFunctions.AsImg(chartInBase64)); }