From f23295594b6b161b9c104454890d2f2ada21f965 Mon Sep 17 00:00:00 2001 From: yoyokits Date: Sat, 3 Apr 2021 00:57:34 +0200 Subject: [PATCH 1/3] Update references: CsvHelper Version="26.1.0" FFMpegCore Version="4.1.0" log4net Version="2.0.12" MahApps.Metro Version="2.4.4" Newtonsoft.Json Version="13.0.1" Ookii.Dialogs.Wpf.NETCore Version="2.2.1" Adjust code with the newer reference version. Update documentation. --- docs/_config.yml | 1 + docs/_includes/youtube_embed.html | 1 + docs/index.md | 21 +++++++++++++++++++ src/BarChartRaceNet/BarChartRaceNet.csproj | 12 +++++------ src/BarChartRaceNet/Helpers/FFMpegHelper.cs | 6 +++--- src/BarChartRaceNet/Views/MainWindow.xaml | 1 + .../BarChartRaceNetTestApp.csproj | 2 +- 7 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 docs/_config.yml create mode 100644 docs/_includes/youtube_embed.html create mode 100644 docs/index.md diff --git a/docs/_config.yml b/docs/_config.yml new file mode 100644 index 0000000..c419263 --- /dev/null +++ b/docs/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-cayman \ No newline at end of file diff --git a/docs/_includes/youtube_embed.html b/docs/_includes/youtube_embed.html new file mode 100644 index 0000000..48610f0 --- /dev/null +++ b/docs/_includes/youtube_embed.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..76e74fc --- /dev/null +++ b/docs/index.md @@ -0,0 +1,21 @@ +## Welcome to Bar Chart Race Generator + +Bar Chart Race is used to visualize the progress of some development in an MPEG videos.
+ +
+The screenshot of Bar Chart Race Generator + + +{% include youtube_embed.html id="Xtnz7N6mwX4" %} +The video example of Bar Chart Race output + +The input of for this application is CVS files that can be exported from your Excell sheet or simply created using Notepad.
+The CVS example can be downloaded from:
+ +[CVS example](https://yoyokits.github.io/BarChartRaceNet/examples/CountryTest.csv). + +The cvs file is like: + +
+ + diff --git a/src/BarChartRaceNet/BarChartRaceNet.csproj b/src/BarChartRaceNet/BarChartRaceNet.csproj index 12f85d9..4dbe631 100644 --- a/src/BarChartRaceNet/BarChartRaceNet.csproj +++ b/src/BarChartRaceNet/BarChartRaceNet.csproj @@ -18,11 +18,11 @@ - - - - - - + + + + + + \ No newline at end of file diff --git a/src/BarChartRaceNet/Helpers/FFMpegHelper.cs b/src/BarChartRaceNet/Helpers/FFMpegHelper.cs index 32d28e5..adc5e3e 100644 --- a/src/BarChartRaceNet/Helpers/FFMpegHelper.cs +++ b/src/BarChartRaceNet/Helpers/FFMpegHelper.cs @@ -41,9 +41,9 @@ public static void Record(string outputFilePath, FrameworkElement element, Actio var videoType = VideoType.Mp4; var videoFramesSource = new RawVideoPipeSource(CreateChartBitmaps(element, drawChartAction, frameCount, token)); - var arguments = FFMpegArguments.FromPipe(videoFramesSource); - arguments.WithArgument(codecArgs); - var processor = arguments.OutputToFile(outputFilePath); + var arguments = FFMpegArguments.FromPipeInput(videoFramesSource); + ////arguments.WithArgument(codecArgs); + var processor = arguments.OutputToFile(outputFilePath, true, (option) => option.WithArgument(codecArgs)); processor.ProcessSynchronously(); } diff --git a/src/BarChartRaceNet/Views/MainWindow.xaml b/src/BarChartRaceNet/Views/MainWindow.xaml index 8c4df37..158a954 100644 --- a/src/BarChartRaceNet/Views/MainWindow.xaml +++ b/src/BarChartRaceNet/Views/MainWindow.xaml @@ -12,6 +12,7 @@ Width="800" Height="450" d:DataContext="{d:DesignInstance viewmodels:MainWindowViewModel}" + mah:DialogParticipation.Register="{Binding GlobalData}" Closing="{extensions:EventBinding ClosingCommand, CommandParameter={Binding RelativeSource={RelativeSource Self}}}" GlowBrush="{DynamicResource AccentColorBrush}" diff --git a/src/BarChartRaceNetTestApp/BarChartRaceNetTestApp.csproj b/src/BarChartRaceNetTestApp/BarChartRaceNetTestApp.csproj index 5f1d4d5..66d5db8 100644 --- a/src/BarChartRaceNetTestApp/BarChartRaceNetTestApp.csproj +++ b/src/BarChartRaceNetTestApp/BarChartRaceNetTestApp.csproj @@ -29,7 +29,7 @@ - + From c3cb041f465369bc9e5acc8ee97c522c89d71e5c Mon Sep 17 00:00:00 2001 From: yoyokits Date: Sat, 3 Apr 2021 01:14:48 +0200 Subject: [PATCH 2/3] Add csv examples. --- ... Most Expensive Diesel Price Countries.csv | 6 +++ ...ost Expensive Gasoline Price Countries.csv | 6 +++ ...d 10 Best Peace Countries in the World.csv | 5 ++ ...al rate of population change by region.csv | 15 ++++++ ... Share Worldwide-quarterly-20091-20203.csv | 48 +++++++++++++++++++ docs/examples/Human Development Index.csv | 13 +++++ docs/examples/Internet Used World Wide.csv | 29 +++++++++++ docs/examples/Mobile Race.csv | 29 +++++++++++ 8 files changed, 151 insertions(+) create mode 100644 docs/examples/10 Cheapest and 10 Most Expensive Diesel Price Countries.csv create mode 100644 docs/examples/10 Cheapest and 10 Most Expensive Gasoline Price Countries.csv create mode 100644 docs/examples/10 Worst Peace and 10 Best Peace Countries in the World.csv create mode 100644 docs/examples/Average annual rate of population change by region.csv create mode 100644 docs/examples/Desktop vs Mobile vs Tablet Market Share Worldwide-quarterly-20091-20203.csv create mode 100644 docs/examples/Human Development Index.csv create mode 100644 docs/examples/Internet Used World Wide.csv create mode 100644 docs/examples/Mobile Race.csv diff --git a/docs/examples/10 Cheapest and 10 Most Expensive Diesel Price Countries.csv b/docs/examples/10 Cheapest and 10 Most Expensive Diesel Price Countries.csv new file mode 100644 index 0000000..3900860 --- /dev/null +++ b/docs/examples/10 Cheapest and 10 Most Expensive Diesel Price Countries.csv @@ -0,0 +1,6 @@ +,Iceland,Norway,United Kingdom,Switzerland,Italy,"Hong Kong SAR, China",Sweden,West Bank and Gaza,Central African Republic,Uruguay,Trinidad and Tobago,Ecuador,South Sudan,Turkmenistan,Brunei Darussalam,"Iran, Islamic Rep.",Algeria,"Egypt, Arab Rep.",Saudi Arabia,Libya +2000,0.45,1.15,1.22,0.84,0.83,0.8,0.8,0.61,0,0.53,0.2,0.18,0,0.02,0.18,0.02,0.15,0.1,0.1,0.16 +2010,1.71,2.01,1.98,1.77,1.69,1.32,1.82,1.54,1.69,1.44,0,0.28,1.07,0.2,0.24,0.02,0.19,0.19,0.07,0.13 +2012,2.06,2.35,2.27,2.06,2.18,1.57,2.16,1.68,1.69,1.88,0,0.29,1.97,0.2,0.26,0.12,0.17,0.18,0.07,0.1 +2014,1.86,2.11,1.99,1.79,2.01,1.56,1.82,1.63,1.66,1.72,0,0.29,1.98,0.2,0,0.19,0.16,0.25,0.07,0 +2016,1.63,1.63,1.49,1.46,1.44,1.42,1.42,1.41,1.4,1.36,0.3,0.29,0.28,0.27,0.22,0.22,0.17,0.15,0.12,0.11 diff --git a/docs/examples/10 Cheapest and 10 Most Expensive Gasoline Price Countries.csv b/docs/examples/10 Cheapest and 10 Most Expensive Gasoline Price Countries.csv new file mode 100644 index 0000000..d888b4f --- /dev/null +++ b/docs/examples/10 Cheapest and 10 Most Expensive Gasoline Price Countries.csv @@ -0,0 +1,6 @@ +,Eritrea,"Hong Kong SAR, China",Norway,Iceland,Netherlands,Italy,Israel,Denmark,Greece,Portugal,Qatar,"Iran, Islamic Rep.",Brunei Darussalam,Kuwait,Turkmenistan,Algeria,South Sudan,Saudi Arabia,Libya,"Venezuela, RB" +2000,0.56,1.46,1.19,1.05,1.03,0.97,1.14,1.01,0.72,0.77,0,0.05,0.31,0.21,0.02,0.27,0,0.24,0.25,0.12 +2010,2.54,1.92,2.12,1.71,2.13,1.87,1.85,2,2.05,1.85,0.19,0.1,0.39,0.23,0.22,0.32,1.5,0.16,0.17,0.02 +2012,2.49,2.16,2.53,1.99,2.33,2.28,2.01,2.02,2.06,2.15,0.27,0.33,0.43,0.23,0.22,0.29,1.97,0.16,0.12,0.02 +2014,3.33,2.06,2.27,1.85,2.15,2.14,1.88,2.01,1.98,1.89,0.23,0.37,0.41,0.22,0.22,0.27,1.98,0.16,0,0.02 +2016,2,1.86,1.78,1.69,1.68,1.61,1.57,1.55,1.54,1.54,0.4,0.4,0.37,0.35,0.29,0.28,0.28,0.24,0.11,0 diff --git a/docs/examples/10 Worst Peace and 10 Best Peace Countries in the World.csv b/docs/examples/10 Worst Peace and 10 Best Peace Countries in the World.csv new file mode 100644 index 0000000..d49dc23 --- /dev/null +++ b/docs/examples/10 Worst Peace and 10 Best Peace Countries in the World.csv @@ -0,0 +1,5 @@ +,Syria,Afghanistan,Iraq,South Sudan,Yemen,Somalia,Libya,Central African Republic,Sudan,Ukraine,Japan,Switzerland,Canada,Slovenia,Czech Republic,Denmark,Austria,Portugal,New Zealand,Iceland +2014,3.65,3.42,3.38,3.4,2.63,3.37,2.45,3.33,3.36,2.55,1.32,1.26,1.31,1.4,1.38,1.19,1.2,1.43,1.24,1.19 +2015,3.65,3.43,3.44,3.38,2.75,3.31,2.82,3.33,3.3,2.85,1.32,1.27,1.29,1.38,1.34,1.15,1.2,1.34,1.22,1.15 +2016,3.81,3.54,3.57,3.59,3.4,3.41,3.2,3.35,3.27,3.29,1.4,1.37,1.39,1.41,1.36,1.25,1.28,1.36,1.29,1.19 +2017,3.81,3.57,3.56,3.52,3.41,3.39,3.33,3.21,3.21,3.18,1.41,1.37,1.37,1.36,1.36,1.34,1.26,1.26,1.24,1.11 diff --git a/docs/examples/Average annual rate of population change by region.csv b/docs/examples/Average annual rate of population change by region.csv new file mode 100644 index 0000000..37e1785 --- /dev/null +++ b/docs/examples/Average annual rate of population change by region.csv @@ -0,0 +1,15 @@ +,Brunei Darussalam,Cambodia,Indonesia,Lao People's Democratic Republic,Malaysia,Myanmar,Philippines,Singapore,Thailand,Timor-Leste,Viet Nam +1950-1955,5.552,2.589,2.108,2.33,2.831,1.899,3.539,4.888,2.706,1.146,2.524 +1955-1960,5.086,2.519,2.543,2.296,2.947,2.121,3.387,4.484,2.89,1.547,2.98 +1960-1965,4.514,2.447,2.667,2.327,3.106,2.196,3.253,2.792,2.995,1.818,2.948 +1965-1970,4.702,1.574,2.706,2.415,2.517,2.339,2.939,1.971,2.952,1.903,2.734 +1970-1975,4.428,1.455,2.593,2.534,2.368,2.312,2.849,1.732,2.752,1.922,2.31 +1975-1980,3.639,-2.34,2.414,1.31,2.524,2.231,2.744,1.302,2.253,-0.954,2.163 +1980-1985,2.928,2.84,2.247,2.478,2.453,2.081,2.727,2.3,1.874,1.82,2.3 +1985-1990,2.842,3.027,1.899,2.877,2.896,1.695,2.627,2.153,1.67,2.319,2.203 +1990-1995,2.767,3.433,1.642,2.587,2.556,1.205,2.399,3.145,1.003,2.697,1.939 +1995-2000,2.291,2.632,1.428,1.878,2.482,1.244,2.224,2.667,1.139,0.927,1.292 +2000-2005,1.831,1.76,1.35,1.546,2.044,0.933,2.031,1.142,0.768,2.36,0.958 +2005-2010,1.249,1.507,1.329,1.659,1.87,0.663,1.696,3.695,0.537,1.886,0.963 +2010-2015,1.308,1.622,1.324,1.516,1.412,0.806,1.663,1.721,0.447,1.797,1.043 +2015-2020,1.06,1.486,1.139,1.526,1.338,0.646,1.412,0.903,0.313,1.944,0.981 diff --git a/docs/examples/Desktop vs Mobile vs Tablet Market Share Worldwide-quarterly-20091-20203.csv b/docs/examples/Desktop vs Mobile vs Tablet Market Share Worldwide-quarterly-20091-20203.csv new file mode 100644 index 0000000..5cbc7cb --- /dev/null +++ b/docs/examples/Desktop vs Mobile vs Tablet Market Share Worldwide-quarterly-20091-20203.csv @@ -0,0 +1,48 @@ +"Date","Desktop","Mobile","Tablet" +2009-1,99.28,0.72,0 +2009-2,99.11,0.89,0 +2009-3,98.9,1.1,0 +2009-4,98.79,1.21,0 +2010-1,98.22,1.78,0 +2010-2,97.64,2.36,0 +2010-3,96.82,3.18,0 +2010-4,96.02,3.98,0 +2011-1,95.51,4.49,0 +2011-2,94.18,5.82,0 +2011-3,93.03,6.97,0 +2011-4,92.83,7.17,0 +2012-1,91.33,8.67,0 +2012-2,89.97,10.03,0 +2012-3,86.65,11.4,1.96 +2012-4,83.87,12.87,3.27 +2013-1,81.99,13.69,4.32 +2013-2,81.41,14.18,4.41 +2013-3,78.37,16.88,4.75 +2013-4,75.17,19.98,4.86 +2014-1,71.04,23.2,5.76 +2014-2,68.71,25.21,6.09 +2014-3,64.77,28.48,6.75 +2014-4,62.15,31.31,6.53 +2015-1,62.41,31.16,6.43 +2015-2,61.45,32.85,5.7 +2015-3,56.04,38.38,5.59 +2015-4,56.42,38.43,5.15 +2016-1,55.3,39.47,5.23 +2016-2,52.73,42.16,5.11 +2016-3,50.33,44.69,4.98 +2016-4,46.86,48.33,4.81 +2017-1,44.95,50.03,5.02 +2017-2,43.02,52.21,4.77 +2017-3,42.4,52.99,4.61 +2017-4,44.57,51.12,4.31 +2018-1,44.08,51.77,4.15 +2018-2,44.15,51.89,3.96 +2018-3,43.52,52.4,4.08 +2018-4,48.97,47.19,3.84 +2019-1,47.4,48.71,3.89 +2019-2,47.25,48.91,3.83 +2019-3,44.78,51.51,3.7 +2019-4,44.58,52.6,2.82 +2020-1,45.42,51.92,2.67 +2020-2,45.56,51.53,2.91 +2020-3,46.2,51.05,2.75 diff --git a/docs/examples/Human Development Index.csv b/docs/examples/Human Development Index.csv new file mode 100644 index 0000000..b4458d4 --- /dev/null +++ b/docs/examples/Human Development Index.csv @@ -0,0 +1,13 @@ +,Norway,Switzerland,Ireland,"Hong Kong, China (SAR)",Germany,Iceland,Australia,Sweden,Singapore,Netherlands,Denmark,Finland,Canada,New Zealand,United Kingdom,United States,Belgium,Liechtenstein,Japan,Austria +1990,0.85,0.83,0.76,0.78,0.8,0.8,0.87,0.82,0.72,0.83,0.8,0.78,0.85,0.82,0.77,0.86,0.81,0,0.82,0.79 +2000,0.92,0.89,0.86,0.83,0.87,0.86,0.9,0.9,0.82,0.88,0.86,0.86,0.87,0.87,0.87,0.88,0.87,0.86,0.86,0.84 +2005,0.93,0.91,0.89,0.87,0.9,0.89,0.9,0.9,0.87,0.89,0.9,0.9,0.89,0.89,0.89,0.9,0.89,0.89,0.87,0.85 +2010,0.94,0.93,0.89,0.9,0.92,0.89,0.93,0.91,0.91,0.91,0.91,0.9,0.89,0.9,0.91,0.91,0.9,0.9,0.88,0.9 +2011,0.94,0.93,0.89,0.9,0.93,0.9,0.93,0.91,0.91,0.92,0.92,0.91,0.9,0.9,0.9,0.91,0.9,0.91,0.89,0.9 +2012,0.94,0.94,0.9,0.91,0.93,0.91,0.93,0.91,0.92,0.92,0.92,0.91,0.91,0.9,0.9,0.92,0.91,0.91,0.89,0.9 +2013,0.95,0.94,0.91,0.92,0.93,0.92,0.93,0.93,0.92,0.92,0.93,0.92,0.91,0.91,0.91,0.91,0.91,0.91,0.9,0.9 +2014,0.95,0.94,0.92,0.92,0.93,0.92,0.93,0.93,0.93,0.93,0.93,0.92,0.91,0.91,0.92,0.91,0.91,0.91,0.9,0.9 +2015,0.95,0.94,0.93,0.93,0.93,0.93,0.93,0.93,0.93,0.93,0.93,0.92,0.92,0.91,0.92,0.92,0.91,0.91,0.91,0.91 +2016,0.95,0.94,0.94,0.93,0.94,0.93,0.94,0.93,0.93,0.93,0.93,0.92,0.92,0.92,0.92,0.92,0.92,0.92,0.91,0.91 +2017,0.95,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.93,0.93,0.93,0.92,0.92,0.92,0.92,0.92,0.92,0.92,0.91,0.91 +2018,0.95,0.95,0.94,0.94,0.94,0.94,0.94,0.94,0.93,0.93,0.93,0.93,0.92,0.92,0.92,0.92,0.92,0.92,0.91,0.91 diff --git a/docs/examples/Internet Used World Wide.csv b/docs/examples/Internet Used World Wide.csv new file mode 100644 index 0000000..99267f7 --- /dev/null +++ b/docs/examples/Internet Used World Wide.csv @@ -0,0 +1,29 @@ +Country Name,Kuwait,Bermuda,Iceland,Liechtenstein,Faroe Islands,Qatar,Luxembourg,Aruba,Denmark,Monaco,Norway,Bahrain,Sweden,"Korea, Rep.",Brunei Darussalam,United Arab Emirates,United Kingdom,Netherlands,Andorra,Canada +1990,0,0,0,0,0,0,0,0,0.097277268,0,0.707299448,0,0.584192066,0.023265092,0,0,0.087355319,0.334386942,0,0.360999701 +1991,0,0,0.505129002,0,0,0,0,0,0.194056515,0,1.407395158,0,1.160519453,0.046124435,0,0,0.174230922,0.531496128,0,0.570385926 +1992,0,0,1.53916008,0,0,0,0.153198791,0,0.386913951,0,2.216365832,0,1.497871352,0.098404337,0,0,0.260615159,1.320008028,0,0.91598104 +1993,0.091082245,0,2.667825265,0,0,0,0.302155121,0,0.578329976,0,2.783990846,0,1.716364182,0.249946523,0,0,0.519762001,1.967087737,0,1.184557509 +1994,0.147162703,0,6.794811784,0,0,0,0.496486119,0,1.34430775,0,4.152450292,0,3.412810096,0.311359364,0,0,1.036609166,3.257308831,0,2.378693853 +1995,0.202898433,6.838163465,11.2158757,0,0,0.190209535,1.590941911,0,3.82565642,0,6.423220493,0.346205844,5.098024244,0.81968667,1.017080166,0.102939175,1.895168284,6.47315766,0,4.163525253 +1996,0.855662317,16.20246602,14.80647932,0,2.318786811,0.930185833,5.551653306,2.768382663,5.714987841,0,18.25031077,0.843254219,9.04359976,1.624237192,3.303349927,0.375393534,4.123650336,9.649069145,1.526601023,6.76023965 +1997,2.174535859,24.18925674,27.47886875,0,4.601297566,3.083749186,7.142704085,0,11.38200494,0,20.41788144,1.646299202,23.72794756,3.600801564,4.831057905,3.295592694,7.385398957,14.0655114,3.050175385,15.07235736 +1998,3.052397455,32.10375935,36.2642065,0,11.33786848,3.52002985,11.74555372,0,22.66874615,0,22.56011255,3.218202151,33.46751233,6.781815468,6.284742844,6.908302986,13.6699831,22.24382769,6.886209218,24.8974003 +1999,4.756222209,39.94758876,41.29456671,0,22.29753835,4.070728915,17.3879578,4.506179098,30.59204065,0,40,4.720358118,41.43278316,23.55219445,7.671041206,14.94269899,21.29363827,39.17600725,7.635686143,36.18644004 +2000,6.73139576837536,42.9498600152711,44.470533824288,36.5152298938015,32.916392363397,4.86367917875156,22.8873279731211,15.4428229480349,39.1724308555053,42.1848634460346,52,6.15373254647607,45.6876522122282,44.7,8.99628453448726,23.6253008751553,26.8217543508578,43.984351373138,10.53883560922,51.3 +2001,8.55179243431475,47.5096998970623,49.3929953676426,45.1168526483592,43.2469835228993,6.17026856093911,36.163422506306,17.1,42.9575247201878,46.6461423640265,64,15.0386342513918,51.7656649372808,56.6,12.9177690823013,26.2717542010006,33.4810948744147,49.3730621073123,0,60.2 +2002,10.2489679289296,52.0315973700393,79.12,59.4707106749926,53.2992218313613,10.2261289281118,39.84,18.8,64.25,48.0471171729696,72.84,18.0507208881153,70.57,59.4,15.329879855735,28.3164853110439,56.48,61.29,11.2604687170103,61.5932992681952 +2003,22.4029383804612,56.5220121836337,83.14,58.8096918372148,58.9126409695337,19.242336421002,54.55,20.8,76.26,49.4911689195459,78.13,21.5549449917804,79.13,65.5,19.5950032207342,29.4779534120864,64.82,64.35,13.546412876439,64.2 +2004,22.9271120360078,60.9908670086326,83.88,64.0074481394199,66.5335994677312,20.701647851169,65.88,23,80.93,52.4901966838546,77.69,21.4586805077435,83.89,72.7,29.7156041447864,30.1312961695367,65.61,68.52,26.8379543894637,65.9559634648989 +2005,25.9261083689107,65.4470657898838,87,63.3713561470216,67.9026317413939,24.733493781051,70,25.4,82.74,55.4648260561427,81.99,21.3037335136591,84.83,73.5,36.4663919475782,40,70,81,37.6057662174867,71.66 +2006,28.7911979549612,69.8996551617012,89.51,64.2141613630526,69.359445124439,28.9741127135829,72.51,28,86.65,61.4760397135217,82.55,28.2439524318043,87.76,78.1,42.1863491609307,52,68.82,83.7,48.9368469989479,72.4 +2007,34.8,74.3505940302669,90.6,65.080218443168,75.98,37,78.92,30.9,85.03,64.3776824034335,86.93,32.91,82.01,78.8,44.68,61,75.09,85.82,70.87,73.2 +2008,42,82.3,91,70,75.57,44.3,82.23,52,85.02,67.25,90.57,51.95,90,81,46,63,78.39,87.42,70.04,76.7 +2009,50.8,83.25,93,75,75.18,53.1,87.31,58,86.84,70.1,92.08,53,91,81.6,49,64,83.56,89.63,78.53,80.3 +2010,61.4,84.21,93.39,80,75.2,69,90.62,62,88.72,75,93.39,55,90,83.7,53,68,85,90.72,81,80.3 +2011,65.7690706867398,88.336,94.8196868008949,85,80.7321728,69,90.0298585646936,69,89.8100133895232,80.3,93.4899826515194,76.9999665032303,92.7699860554046,83.7591201534472,56,78,85.3799985496322,91.4199957622284,81,83 +2012,70.45,91.2993045243401,96.2097995545657,89.4077,85.3351892392109,69.3,91.9499237417387,74,92.2600117153012,87,94.6499780533304,88,93.1799880065108,84.07,60.2730650423193,84.9999915049492,87.4799984242111,92.859992359525,86.4344246167258,83 +2013,75.46,95.3,96.5468,93.8,90,85.3,93.7765,78.9,94.6297,90.7,95.0534,90.0000397,94.7836,84.77,64.5,88,89.8441,93.9564,94,85.8 +2014,78.7,96.8,98.16,95.21,93.3,91.49,94.67,83.78,95.99,92.4,96.3,90.5031334814656,92.52,87.5568264944747,68.77,90.4,91.61,91.666666,95.9,87.12 +2015,72,98.3236096537251,98.2,96.6411950959488,94.2,92.8848264535481,96.38,88.661226932496,96.3305,93.3633020180933,96.8103,93.4783011354165,90.6102,89.9,71.2,90.5,92.0003,91.7241379310345,96.91,90 +2016,78.36738376,98,98.2400162999185,98.0939038921672,95.1086816720257,95.1246621661148,98.13669867,93.542453865048,96.96778525,95.2081779700534,97.29820367,97.9999807,89.65094761,92.84302568,90,90.60000732,94.77580063,90.4109589,97.9306371220021,91.16 +2017,100,98.37,98.26,98.1,97.5819589384468,97.3888491654164,97.36296032,97.17,97.09936216,97.0529768369275,96.3576013,95.87813575,95.51006745,95.06942188,94.8666916411293,94.81992254,94.62,93.19727891,91.5674670273926,91 diff --git a/docs/examples/Mobile Race.csv b/docs/examples/Mobile Race.csv new file mode 100644 index 0000000..61b99ab --- /dev/null +++ b/docs/examples/Mobile Race.csv @@ -0,0 +1,29 @@ +Manufacturer,Alcatel,Apple,BBK,Ericsson,HTC,Huawei,Lenovo,Lenovo/Motorola,LG,Micromax,Microsoft,Motorola,NEC,Nokia,Oppo,Panasonic,RIM,Samsung,Siemens,Sony,Sony Ericsson,TCL,Vivo,Xiaomi,Yulong,ZTE +1992,0,0,0,0,0,0,0,0,0,0,0,4000000,2000000,3000000,0,0,0,0,0,0,0,0,0,0,0,0 +1993,0,0,0,0,0,0,0,0,0,0,0,0,0,5000000,0,0,0,0,0,0,0,0,0,0,0,0 +1994,0,0,0,0,0,0,0,0,0,0,0,12000000,6000000,9000000,0,0,0,0,0,0,0,0,0,0,0,0 +1995,0,0,0,0,0,0,0,0,0,0,0,0,0,13000000,0,0,0,0,0,0,0,0,0,0,0,0 +1996,0,0,0,0,0,0,0,0,0,0,0,60000000,0,18000000,0,0,0,0,0,0,0,0,0,0,0,0 +1997,2631000,0,0,15914000,0,0,0,0,0,0,0,25328000,0,20593000,0,8627000,0,0,0,0,0,0,0,0,0,0 +1998,6967000,0,0,23827000,0,0,0,0,0,0,0,32319000,0,37374000,0,13397000,0,4686000,0,0,0,0,0,0,0,0 +1999,0,0,0,29785000,0,0,0,0,0,0,0,47818000,0,76335000,0,15581000,0,17687000,0,0,0,0,0,0,0,0 +2000,0,0,0,41467000,0,0,0,0,0,0,0,60094000,0,126369000,0,0,0,20639000,26989000,0,0,0,0,0,0,0 +2001,0,0,0,26956000,0,0,0,0,0,0,0,59097000,0,139672000,0,0,0,28234000,29753000,0,0,0,0,0,0,0 +2002,0,0,0,0,0,0,0,0,0,0,0,64640000,0,151422000,0,0,0,41684000,34618000,0,0,0,0,0,0,0 +2003,0,0,0,0,0,0,0,0,26213700,0,0,75177000,0,180672000,0,0,0,54475000,43754000,0,0,0,0,0,0,0 +2004,0,0,0,0,0,0,0,0,42276800,0,0,104124000,0,207231000,0,0,0,85238000,48456000,0,0,0,0,0,0,0 +2005,0,0,0,0,0,0,0,0,54924600,0,0,144920000,0,265615000,0,0,0,103754000,28591000,0,0,0,0,0,0,0 +2006,0,0,0,0,0,0,0,0,61986000,0,0,209251000,0,344916000,0,0,0,116480000,0,0,0,0,0,0,0,0 +2007,0,2300000,0,0,0,0,0,0,78576300,0,0,164307000,0,435453000,0,0,0,154541000,0,0,0,0,0,0,0,0 +2008,0,12000000,0,0,0,0,0,0,102555400,0,0,106590000,0,472315000,0,0,0,199182000,0,0,93414500,0,0,0,0,0 +2009,0,24889000,0,0,0,0,0,0,122055300,0,0,58475200,0,440881600,0,0,0,235772000,0,0,54873400,0,0,0,0,0 +2010,0,46598300,0,0,24688400,23814700,0,0,114154600,0,0,38553700,0,461318200,0,0,47451600,281065800,0,0,41819200,0,0,0,0,28768700 +2011,0,89263200,0,0,43266900,40663400,0,0,86370900,0,0,40269000,0,422478300,0,0,51541900,313904200,0,0,32597500,0,0,0,0,56881800 +2012,0,130133200,0,0,32121800,47288300,0,0,58015900,0,0,33916300,0,333938000,0,0,34210300,384631200,0,0,0,37176600,0,0,0,67344400 +2013,0,150785900,0,0,0,53295100,45284700,0,69024500,0,0,0,0,250793100,0,0,0,444444200,0,37595700,0,49531300,0,0,32601400,59898800 +2014,0,191426000,0,0,0,70499000,0,84029000,76096000,37094000,185660000,0,0,0,0,0,0,392546000,0,37791000,0,64026000,0,56529000,0,53910000 +2015,0,225850600,0,0,0,104094700,72748200,0,0,0,0,0,0,0,0,0,0,320400000,0,0,0,0,0,65618600,0,0 +2016,0,216064000,72408600,0,0,132824900,0,0,0,0,0,0,0,0,85299500,0,0,306446600,0,0,0,0,0,0,0,0 +2017,0,214924400,0,0,0,150534300,0,0,0,0,0,0,0,0,112124000,0,0,321263300,0,0,0,0,99684800,0,0,0 +2018,0,209048400,0,0,0,202901400,0,0,0,0,0,0,0,0,118837500,0,0,295043700,0,0,0,0,0,122387000,0,0 +2019,0,207475100,0,0,0,240615500,0,0,0,0,0,0,0,0,118693200,0,0,296194000,0,0,0,0,0,126049200,0,0 From 1c920c9e0a8696ea923e7fb5989f6a9007d2c55c Mon Sep 17 00:00:00 2001 From: yoyokits Date: Sat, 3 Apr 2021 01:15:53 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fb0ca50..29efdca 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ -# BarChartRaceNet -Create Bar Chart Race animation and export to video files. +## Welcome to Bar Chart Race Generator + +Bar Chart Race is used to visualize the progress of some development in an MPEG videos.
+ +
+The screenshot of Bar Chart Race Generator + +[Example video](https://www.youtube.com/watch?v=Xtnz7N6mwX4) can be watch in Youtube. + +The input of for this application is CVS files that can be exported from your Excell sheet or simply created using Notepad.
+The CVS example can be downloaded from:
+ +[CVS example](https://github.com/yoyokits/BarChartRaceNet/tree/master/docs/examples). + +The cvs file is like: + +