Open JoeCodeswell opened 4 years ago
Hi Folks,
I got this to run by putting your sample code into a file called bar_chart.dart
and using the following main.dart
file in the same lib
folder. I suggest you publish something similar so folks don't have to fumble around to get a running example.
import 'package:flutter/material.dart';
import 'bar_chart.dart';
void main() {
runApp(
Center(
child: SimpleBarChart.withSampleData(),
),
);
}
Thanks again for the GREAT software. Love and peace, Joe
Dear Google Folks,
After my troubles in actually understanding that:
Your Charts Gallery would show me code, if i clicked on one of the examples. AND
How to invoke one of the code examples from a main.dart
,
I feel COMPELLED to say that the actual structure of the gallery and the underlying code is a BRILLIANTLY DESIGNED set of TUTORIAL EXAMPLES that shows HOW TO USE the features of your API without complicating the underlying code with unnecessary and confusing structure.
Thanks for this blessing.
Here are 2 more suggestions for the Charts Gallery page.
ALSO, I suggest you edit the README.md of this repository to say:
main.dart
containing something like, child: SimpleBarChart.withSampleData(),
.Thanks again for the GREAT software. Love and peace, Joe
Hi Folks. Thanks for the GREAT software.
I Copied the code from your [Simple Line Chart Example]() into my main.dart file and got the following error in the DEBUG CONSOLE:
What do I need to add to make this run? Thanks for the help. Love and peace, Joe Dorocak aka JoeCodeswell@gmail.com