This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//XC1CPLLE JOB NOTIFY=&SYSUID, | |
// REGION=0M,MSGLEVEL=1,MSGCLASS=H | |
//* | |
//* Location of sample source and output datasets. | |
// SET SRC=HWTJXC1 < INPUT ... REQUIRED | |
// SET SAMPLIB=SYS1.SAMPLIB < INPUT ... REQUIRED | |
// SET LOADLIB=HWTJ.SAMPLE.LOAD < OUTPUT LOAD MODULE | |
// SET CSSLIB=SYS1.CSSLIB < CSSLIB DATA SET | |
//* C\C++ Compiler Options | |
// SET CRUN= < COMPILER RUNTIME OPTIONS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
std::string rtrim(char *from, size_t len) { | |
char to[len+1]; | |
strncpy(to, from, len); | |
while(len > 0) { | |
if(to[len-1] == ' ' || to[len-1] == '\0') { | |
len--; | |
} else { | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
/// Timeseries chart example | |
import 'package:charts_flutter/flutter.dart' as charts; | |
import 'package:charts_flutter/flutter.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/scheduler.dart'; | |
const String FIRST_SEL = 'FIRST'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
/// Timeseries chart example | |
import 'package:charts_flutter/flutter.dart' as charts; | |
import 'package:charts_flutter/flutter.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/scheduler.dart'; | |
const String FIRST_SEL = 'FIRST'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
/// Timeseries chart example | |
import 'package:charts_flutter/flutter.dart' as charts; | |
import 'package:charts_flutter/flutter.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/scheduler.dart'; | |
const String FIRST_SEL = 'FIRST'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Timeseries chart example | |
import 'package:charts_flutter/flutter.dart' as charts; | |
import 'package:flutter/material.dart'; | |
class SimpleTimeSeriesChart extends StatelessWidget { | |
final List<charts.Series> seriesList; | |
final bool animate; | |
SimpleTimeSeriesChart(this.seriesList, {this.animate}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Timeseries chart example | |
import 'package:charts_flutter/flutter.dart' as charts; | |
import 'package:flutter/material.dart'; | |
int measureCount = 0; | |
class SimpleTimeSeriesChart extends StatelessWidget { | |
final List<charts.Series> seriesList; | |
final bool animate; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:charts_common/common.dart' as common | |
show | |
BehaviorPosition, | |
InsideJustification, | |
LegendEntry, | |
LegendTapHandling, | |
MeasureFormatter, | |
LegendDefaultMeasure, | |
OutsideJustification, | |
SeriesLegend, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |