BTS Profile Height Analysis
Use the previous projects on temperature and BTS member height as a reference to create a chart that uses a graphic as data point marker instead of the previous circle
.
import 'package:flutter/material.dart'; | |
import 'package:thetaf/thetaf.dart'; | |
void main() { | |
runApp(const AtkTutorial()); | |
} | |
class AtkTutorial extends StatelessWidget { | |
const AtkTutorial({Key? key}) : super(key: key); |
import 'package:flutter/material.dart'; | |
import 'package:thetaf/thetaf.dart'; | |
void main() { | |
runApp(const AtkTutorial()); | |
} | |
class AtkTutorial extends StatelessWidget { | |
const AtkTutorial({Key? key}) : super(key: key); |
import 'package:flutter/material.dart'; | |
/// simple template for Flutter app | |
void main() { | |
runApp(const AtkTutorial()); | |
} | |
class AtkTutorial extends StatelessWidget { | |
const AtkTutorial({Key? key}) : super(key: key); |
public class Main { | |
public static void main(String[] args) { | |
String data = "CCAAAAATTT!"; | |
char maxLetter = data.charAt(0); | |
int maxCount = 1; | |
for (int i = 0; i < data.length() -1; i++) { | |
int currentCount = 1; | |
char letter = data.charAt(i); |
void main() async { | |
Stream<String> sushi = Stream<String>.periodic(Duration(seconds: 1), (x) => '$x: fish').take(10); | |
var mappedSushi = sushi.map((sushiPiece) => sushiPiece + ' mapped'); | |
await mappedSushi.forEach( print); | |
} | |
/* output | |
0: fish mapped | |
1: fish mapped |
import 'package:flutter/material.dart'; | |
import 'mjpeg_view.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', |
/** | |
* Copyright 2018 Ricoh Company, Ltd. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
/** | |
* Copyright 2018 Ricoh Company, Ltd. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
d3.csv('data/rainfall-by-state.csv').then(data => { | |
data.forEach(stateData => { | |
stateData.rainfall = +stateData.rainfall; | |
const checkChar = /^[A-Z]/; | |
for (let i = 0; i < 5; i++) { | |
if (checkChar.test(stateData.state)) { | |
console.log('found capital letter'); | |
break; | |
} else { | |
stateData.state = stateData.state.substring(1); |