aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-053/dave-cross/perl/ch-1.pl47
-rw-r--r--challenge-053/dave-cross/perl/ch-2.pl39
-rw-r--r--challenge-053/luca-ferrari/blog1.txt1
-rw-r--r--challenge-053/luca-ferrari/blog2.txt1
-rw-r--r--challenge-053/luca-ferrari/raku/ch-1.p669
-rw-r--r--challenge-053/luca-ferrari/raku/ch-2.p677
-rw-r--r--challenge-053/pete-houston/perl/ch-2.pl25
-rw-r--r--stats/pwc-current.json195
-rw-r--r--stats/pwc-language-breakdown-summary.json72
-rw-r--r--stats/pwc-language-breakdown.json802
-rw-r--r--stats/pwc-leaders.json442
-rw-r--r--stats/pwc-summary-1-30.json96
-rw-r--r--stats/pwc-summary-121-150.json34
-rw-r--r--stats/pwc-summary-151-180.json40
-rw-r--r--stats/pwc-summary-31-60.json102
-rw-r--r--stats/pwc-summary-61-90.json126
-rw-r--r--stats/pwc-summary-91-120.json46
-rw-r--r--stats/pwc-summary.json42
18 files changed, 1282 insertions, 974 deletions
diff --git a/challenge-053/dave-cross/perl/ch-1.pl b/challenge-053/dave-cross/perl/ch-1.pl
new file mode 100644
index 0000000000..c958c67144
--- /dev/null
+++ b/challenge-053/dave-cross/perl/ch-1.pl
@@ -0,0 +1,47 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use feature 'say';
+
+sub print_matrix {
+ my ($matrix) = @_;
+
+ for (@$matrix) {
+ say '[', join(', ', @$_), ']';
+ }
+}
+
+sub rotate_matrix {
+ my ($matrix, $degrees) = @_;
+
+ die "Must give rotation in degrees\n" unless $degrees;
+ die "Must rotate by 90, 180 or 270 degrees\n"
+ if $degrees =~ /\D/ or $degrees % 90 or $degrees > 270;
+
+ my $rotated_matrix;
+
+ for (1 .. $degrees / 90) {
+ $rotated_matrix = [];
+ for my $i (0 .. $#$matrix) {
+ for my $j (0 .. $#{$matrix->[$i]}) {
+ $rotated_matrix->[$j][$#{$matrix->[$i]} - $i] = $matrix->[$i][$j];
+ }
+ }
+ $matrix = $rotated_matrix;
+ }
+
+ return $rotated_matrix;
+}
+
+my $input = [
+ [1, 2 ,3],
+ [4, 5, 6],
+ [7, 8, 9],
+];
+say "Original matrix:";
+print_matrix($input);
+for (90, 180, 270) {
+ say "Rotating by $_ degrees:";
+ print_matrix(rotate_matrix($input, $_));
+}
diff --git a/challenge-053/dave-cross/perl/ch-2.pl b/challenge-053/dave-cross/perl/ch-2.pl
new file mode 100644
index 0000000000..b1ce0a4882
--- /dev/null
+++ b/challenge-053/dave-cross/perl/ch-2.pl
@@ -0,0 +1,39 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use feature 'say';
+
+my $count = get_arg();
+
+my %strings = (
+ a => [qw[e i]],
+ e => [qw[i]],
+ i => [qw[a e o u]],
+ o => [qw[a u]],
+ u => [qw[o e]],
+);
+
+my @words = map { [ $_ ] } keys %strings;
+
+@words = add_letter(@words) for 2 .. $count;
+
+say @$_ for sort { "@$a" cmp "@$b" } @words;
+
+sub get_arg {
+ die "Must give an integer between 1 and 5\n"
+ if !@ARGV or $ARGV[0] =~ /\D/ or ! $ARGV[0] or $ARGV[0] > 5;
+
+ return $ARGV[0];
+}
+
+sub add_letter {
+ my @input = @_;
+ my @output;
+
+ for my $in (@input) {
+ push @output, map { [ @$in, $_ ]} @{$strings{$in->[-1]}};
+ }
+
+ return @output;
+}
diff --git a/challenge-053/luca-ferrari/blog1.txt b/challenge-053/luca-ferrari/blog1.txt
new file mode 100644
index 0000000000..cae994db98
--- /dev/null
+++ b/challenge-053/luca-ferrari/blog1.txt
@@ -0,0 +1 @@
+https://fluca1978.github.io/2020/03/23/PerlWeeklyChallenge53.html#task1
diff --git a/challenge-053/luca-ferrari/blog2.txt b/challenge-053/luca-ferrari/blog2.txt
new file mode 100644
index 0000000000..72e20fe93f
--- /dev/null
+++ b/challenge-053/luca-ferrari/blog2.txt
@@ -0,0 +1 @@
+https://fluca1978.github.io/2020/03/23/PerlWeeklyChallenge53.html#task2
diff --git a/challenge-053/luca-ferrari/raku/ch-1.p6 b/challenge-053/luca-ferrari/raku/ch-1.p6
new file mode 100644
index 0000000000..1ee72eb589
--- /dev/null
+++ b/challenge-053/luca-ferrari/raku/ch-1.p6
@@ -0,0 +1,69 @@
+#!env raku
+#
+# Perl Weekly Challenge 53
+# <https://perlweeklychallenge.org/blog/perl-weekly-challenge-053/>
+#
+# Task 1
+#
+# Write a script to rotate the followin matrix by given 90/180/270 degrees clockwise.
+#
+# [ 1, 2, 3 ]
+# [ 4, 5, 6 ]
+# [ 7, 8, 9 ]
+#
+# For example, if you rotate by 90 degrees then expected result should be like below
+#
+# [ 7, 4, 1 ]
+# [ 8, 5, 2 ]
+# [ 9, 6, 3 ]
+#
+#
+#
+# Example of invocation
+# % raku ch-1.p6 180
+# Rotation is 180
+# Original matrix is
+# | 1 | 2 | 3 |
+# | 4 | 5 | 6 |
+# | 7 | 8 | 9 |
+# Rotated matrix is
+# | 9 | 8 | 7 |
+# | 6 | 5 | 4 |
+# | 3 | 2 | 1 |
+#
+
+
+sub MAIN( Int:D $rotation where { $rotation == any( 90, 180, 270 ) } = 90 ) {
+
+ say "Rotation is $rotation";
+
+ my @matrix = [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ];
+ say "Original matrix is ";
+ say " | " ~ $_.join( " | " ) ~ " | " for @matrix;
+
+ my @rotated-matrix;
+
+ # do a loop for all the rotation
+ for 1 .. $rotation / 90 {
+
+ # the matrix is a square matrix, move on the columns
+ # to get the rotated row
+ for 0 .. @matrix.elems - 1 -> $current-column {
+ my @rotated-row;
+ for 0 .. @matrix.elems - 1 {
+ @rotated-row.push: @matrix[ @matrix.elems - 1 - $_ ][ $current-column ]
+ }
+
+ # push the rotated row to the new matrix
+ @rotated-matrix.push: [ @rotated-row ];
+ }
+
+ # switch the matrix, in the case we need to loop further
+ @matrix = @rotated-matrix;
+ @rotated-matrix = [];
+ }
+
+ say "Rotated matrix is ";
+ say " | " ~ $_.join( " | " ) ~ " | " for @matrix;
+
+}
diff --git a/challenge-053/luca-ferrari/raku/ch-2.p6 b/challenge-053/luca-ferrari/raku/ch-2.p6
new file mode 100644
index 0000000000..6bdc1bb388
--- /dev/null
+++ b/challenge-053/luca-ferrari/raku/ch-2.p6
@@ -0,0 +1,77 @@
+#!env raku
+#
+# Perl Weekly Challenge 53
+# <https://perlweeklychallenge.org/blog/perl-weekly-challenge-053/>
+#
+# Task 2
+#
+# Write a script to accept an integer 1 <= N <= 5 that would
+# print all possible strings of size N formed
+# by using only vowels (a, e, i, o, u).
+#
+# The string should follow the following rules:
+#
+# ‘a’ can only be followed by ‘e’ and ‘i’.
+#
+# ‘e’ can only be followed by ‘i’.
+#
+# ‘i’ can only be followed by ‘a’, ‘e’, ‘o’, and ‘u’.
+#
+# ‘o’ can only be followed by ‘a’ and ‘u’.
+#
+# ‘u’ can only be followed by ‘o’ and ‘e’.
+#
+# For example, if the given integer N = 2 then script
+# should print the following strings:
+#
+# ae
+# ai
+# ei
+# ia
+# io
+# iu
+# ie
+# oa
+# ou
+# uo
+# ue
+#
+
+
+
+sub MAIN( Int:D $size where { 1 < $size <= 5 } = 2 ) {
+ say "Requested string length is $size ";
+ my @vowels = 'a', 'e', 'i', 'o', 'u';
+
+ # build a matrix with all the possibile combinations
+ my @combinations = @vowels;
+ for 1 ..^ $size {
+ @combinations = @combinations [X] @vowels;
+ }
+
+
+
+ for @combinations -> @letters {
+ my $string = @letters.join;
+ my $ok = True;
+
+ # test if all but the last letters do match the regular expression
+ loop ( my $i = 0; $i < @letters.elems - 1; $i++ ) {
+ my $letter = @letters[ $i ];
+ $ok = do
+ given $letter {
+ when 'a' { $string ~~ / a (e | i) / }
+ when 'e' { $string ~~ / ei / }
+ when 'i' { $string ~~ / i ( a | e | o | u ) / }
+ when 'o' { $string ~~ / o ( a | u ) / }
+ when 'u' { $string ~~ /u ( o | e ) / }
+ }.so;
+
+ # if not ok, do not continue
+ last if ! $ok;
+ }
+
+ say "Found { ~@letters }" if $ok;
+ }
+
+}
diff --git a/challenge-053/pete-houston/perl/ch-2.pl b/challenge-053/pete-houston/perl/ch-2.pl
new file mode 100644
index 0000000000..6107930877
--- /dev/null
+++ b/challenge-053/pete-houston/perl/ch-2.pl
@@ -0,0 +1,25 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use feature 'say';
+
+my %rules = (
+ a => [qw/e i/],
+ e => [qw/i/],
+ i => [qw/a e o u/],
+ o => [qw/a u/],
+ u => [qw/o e/]
+);
+
+my $n = int shift @ARGV;
+die "1 <= N <= 5 is the restriction.\n" unless $n > 0 && $n < 6;
+
+next_str ($_) for keys %rules;
+
+sub next_str {
+ my $string = shift;
+ return say $string if length $string == $n;
+ for my $c (@{$rules{substr ($string, -1, 1)}}) {
+ next_str ("$string$c");
+ }
+}
diff --git a/stats/pwc-current.json b/stats/pwc-current.json
index 9f9313f22d..af1a4c72ca 100644
--- a/stats/pwc-current.json
+++ b/stats/pwc-current.json
@@ -1,70 +1,17 @@
{
- "subtitle" : {
- "text" : "[Champions: 5] Last updated at 2020-03-23 12:08:07 GMT"
- },
- "yAxis" : {
- "title" : {
- "text" : "Total Solutions"
- }
- },
- "chart" : {
- "type" : "column"
- },
- "legend" : {
- "enabled" : 0
- },
- "title" : {
- "text" : "Perl Weekly Challenge - 053"
- },
- "plotOptions" : {
- "series" : {
- "dataLabels" : {
- "format" : "{point.y}",
- "enabled" : 1
- },
- "borderWidth" : 0
- }
- },
- "series" : [
- {
- "data" : [
- {
- "name" : "Javier Luque",
- "drilldown" : "Javier Luque",
- "y" : 5
- },
- {
- "name" : "Roger Bell West",
- "drilldown" : "Roger Bell West",
- "y" : 4
- },
- {
- "drilldown" : "Simon Proctor",
- "y" : 2,
- "name" : "Simon Proctor"
- },
- {
- "name" : "Wanderdoc",
- "y" : 2,
- "drilldown" : "Wanderdoc"
- },
- {
- "name" : "Yet Ebreo",
- "y" : 2,
- "drilldown" : "Yet Ebreo"
- }
- ],
- "name" : "Perl Weekly Challenge - 053",
- "colorByPoint" : 1
- }
- ],
- "xAxis" : {
- "type" : "category"
- },
"drilldown" : {
"series" : [
{
- "name" : "Javier Luque",
+ "id" : "Dave Cross",
+ "name" : "Dave Cross",
+ "data" : [
+ [
+ "Perl",
+ 2
+ ]
+ ]
+ },
+ {
"data" : [
[
"Perl",
@@ -79,9 +26,35 @@
1
]
],
- "id" : "Javier Luque"
+ "id" : "Javier Luque",
+ "name" : "Javier Luque"
+ },
+ {
+ "id" : "Luca Ferrari",
+ "name" : "Luca Ferrari",
+ "data" : [
+ [
+ "Raku",
+ 2
+ ],
+ [
+ "Blog",
+ 2
+ ]
+ ]
+ },
+ {
+ "id" : "Pete Houston",
+ "name" : "Pete Houston",
+ "data" : [
+ [
+ "Perl",
+ 1
+ ]
+ ]
},
{
+ "name" : "Roger Bell West",
"id" : "Roger Bell West",
"data" : [
[
@@ -92,18 +65,17 @@
"Raku",
2
]
- ],
- "name" : "Roger Bell West"
+ ]
},
{
- "id" : "Simon Proctor",
- "name" : "Simon Proctor",
"data" : [
[
"Raku",
2
]
- ]
+ ],
+ "name" : "Simon Proctor",
+ "id" : "Simon Proctor"
},
{
"id" : "Wanderdoc",
@@ -117,19 +89,96 @@
},
{
"id" : "Yet Ebreo",
+ "name" : "Yet Ebreo",
"data" : [
[
"Perl",
2
]
- ],
- "name" : "Yet Ebreo"
+ ]
}
]
},
+ "yAxis" : {
+ "title" : {
+ "text" : "Total Solutions"
+ }
+ },
"tooltip" : {
- "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>",
"followPointer" : 1,
- "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>"
+ "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>",
+ "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>"
+ },
+ "title" : {
+ "text" : "Perl Weekly Challenge - 053"
+ },
+ "legend" : {
+ "enabled" : 0
+ },
+ "plotOptions" : {
+ "series" : {
+ "dataLabels" : {
+ "enabled" : 1,
+ "format" : "{point.y}"
+ },
+ "borderWidth" : 0
+ }
+ },
+ "series" : [
+ {
+ "data" : [
+ {
+ "y" : 2,
+ "name" : "Dave Cross",
+ "drilldown" : "Dave Cross"
+ },
+ {
+ "y" : 5,
+ "name" : "Javier Luque",
+ "drilldown" : "Javier Luque"
+ },
+ {
+ "drilldown" : "Luca Ferrari",
+ "name" : "Luca Ferrari",
+ "y" : 4
+ },
+ {
+ "y" : 1,
+ "name" : "Pete Houston",
+ "drilldown" : "Pete Houston"
+ },
+ {
+ "y" : 4,
+ "name" : "Roger Bell West",
+ "drilldown" : "Roger Bell West"
+ },
+ {
+ "y" : 2,
+ "name" : "Simon Proctor",
+ "drilldown" : "Simon Proctor"
+ },
+ {
+ "y" : 2,
+ "name" : "Wanderdoc",
+ "drilldown" : "Wanderdoc"
+ },
+ {
+ "name" : "Yet Ebreo",
+ "drilldown" : "Yet Ebreo",
+ "y" : 2
+ }
+ ],
+ "colorByPoint" : 1,
+ "name" : "Perl Weekly Challenge - 053"
+ }
+ ],
+ "xAxis" : {
+ "type" : "category"
+ },
+ "subtitle" : {
+ "text" : "[Champions: 8] Last updated at 2020-03-23 15:57:20 GMT"
+ },
+ "chart" : {
+ "type" : "column"
}
}
diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json
index 90dd06e367..c9aa7918e3 100644
--- a/stats/pwc-language-breakdown-summary.json
+++ b/stats/pwc-language-breakdown-summary.json
@@ -1,63 +1,63 @@
{
+ "yAxis" : {
+ "min" : 0,
+ "title" : {
+ "text" : null
+ }
+ },
+ "title" : {
+ "text" : "Perl Weekly Challenge Contributions [2019 - 2020]"
+ },
+ "legend" : {
+ "enabled" : "false"
+ },
+ "tooltip" : {
+ "pointFormat" : "<b>{point.y:.0f}</b>"
+ },
+ "subtitle" : {
+ "text" : "Last updated at 2020-03-23 15:57:20 GMT"
+ },
"series" : [
{
+ "dataLabels" : {
+ "style" : {
+ "fontSize" : "13px",
+ "fontFamily" : "Verdana, sans-serif"
+ },
+ "color" : "#FFFFFF",
+ "enabled" : "true",
+ "align" : "right",
+ "y" : 10,
+ "format" : "{point.y:.0f}",
+ "rotation" : -90
+ },
"data" : [
[
"Blog",
- 566
+ 568
],
[
"Perl",
- 2211
+ 2214
],
[
"Raku",
- 1355
+ 1357
]
],
- "name" : "Contributions",
- "dataLabels" : {
- "y" : 10,
- "align" : "right",
- "rotation" : -90,
- "color" : "#FFFFFF",
- "format" : "{point.y:.0f}",
- "style" : {
- "fontSize" : "13px",
- "fontFamily" : "Verdana, sans-serif"
- },
- "enabled" : "true"
- }
+ "name" : "Contributions"
}
],
"xAxis" : {
"labels" : {
"style" : {
- "fontFamily" : "Verdana, sans-serif",
- "fontSize" : "13px"
+ "fontSize" : "13px",
+ "fontFamily" : "Verdana, sans-serif"
}
},
"type" : "category"
},
- "tooltip" : {
- "pointFormat" : "<b>{point.y:.0f}</b>"
- },
- "subtitle" : {
- "text" : "Last updated at 2020-03-23 12:08:07 GMT"
- },
"chart" : {
"type" : "column"
- },
- "yAxis" : {
- "min" : 0,
- "title" : {
- "text" : null
- }
- },
- "legend" : {
- "enabled" : "false"
- },
- "title" : {
- "text" : "Perl Weekly Challenge Contributions [2019 - 2020]"
}
}
diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json
index 5e11585ea2..02c0d6ae38 100644
--- a/stats/pwc-language-breakdown.json
+++ b/stats/pwc-language-breakdown.json
@@ -4,312 +4,9 @@
"text" : "Total Solutions"
}
},
- "chart" : {
- "type" : "column"
- },
- "legend" : {
- "enabled" : "false"
- },
- "subtitle" : {
- "text" : "Click the columns to drilldown the language breakdown. Last updated at 2020-03-23 12:08:07 GMT"
- },
- "title" : {
- "text" : "Perl Weekly Challenge Language"
- },
- "series" : [
- {
- "name" : "Perl Weekly Challenge Languages",
- "data" : [
- {
- "drilldown" : "001",
- "y" : 140,
- "name" : "#001"
- },
- {
- "drilldown" : "002",
- "y" : 109,
- "name" : "#002"
- },
- {
- "name" : "#003",
- "y" : 71,
- "drilldown" : "003"
- },
- {
- "name" : "#004",
- "drilldown" : "004",
- "y" : 91
- },
- {
- "y" : 71,
- "drilldown" : "005",
- "name" : "#005"
- },
- {
- "y" : 52,
- "drilldown" : "006",
- "name" : "#006"
- },
- {
- "drilldown" : "007",
- "y" : 58,
- "name" : "#007"
- },
- {
- "name" : "#008",
- "drilldown" : "008",
- "y" : 70
- },
- {
- "y" : 68,
- "drilldown" : "009",
- "name" : "#009"
- },
- {
- "drilldown" : "010",
- "y" : 60,
- "name" : "#010"
- },
- {
- "name" : "#011",
- "drilldown" : "011",
- "y" : 79
- },
- {
- "drilldown" : "012",
- "y" : 83,
- "name" : "#012"
- },
- {
- "drilldown" : "013",
- "y" : 76,
- "name" : "#013"
- },
- {
- "y" : 96,
- "drilldown" : "014",
- "name" : "#014"
- },
- {
- "name" : "#015",
- "y" : 93,
- "drilldown" : "015"
- },
- {
- "name" : "#016",
- "drilldown" : "016",
- "y" : 66
- },
- {
- "name" : "#017",
- "drilldown" : "017",
- "y" : 79
- },
- {
- "name" : "#018",
- "drilldown" : "018",
- "y" : 76
- },
- {
- "name" : "#019",
- "drilldown" : "019",
- "y" : 97
- },
- {
- "drilldown" : "020",
- "y" : 95,
- "name" : "#020"
- },
- {
- "y" : 67,
- "drilldown" : "021",
- "name" : "#021"
- },
- {
- "name" : "#022",
- "y" : 63,
- "drilldown" : "022"
- },
- {
- "name" : "#023",
- "drilldown" : "023",
- "y" : 91
- },
- {
- "drilldown" : "024",
- "y" : 70,
- "name" : "#024"
- },
- {
- "name" : "#025",
- "y" : 55,
- "drilldown" : "025"
- },
- {
- "name" : "#026",
- "drilldown" : "026",
- "y" : 70
- },
- {
- "y" : 58,
- "drilldown" : "027",
- "name" : "#027"
- },
- {
- "name" : "#028",
- "drilldown" : "028",
- "y" : 78
- },
- {
- "drilldown" : "029",
- "y" : 77,
- "name" : "#029"
- },
- {
- "y" : 115,
- "drilldown" : "030",
- "name" : "#030"
- },
- {
- "name" : "#031",
- "y" : 87,
- "drilldown" : "031"
- },
- {
- "name" : "#032",
- "y" : 92,
- "drilldown" : "032"
- },
- {
- "drilldown" : "033",
- "y" : 108,
- "name" : "#033"
- },
- {
- "name" : "#034",
- "y" : 62,
- "drilldown" : "034"
- },
- {
- "y" : 62,
- "drilldown" : "035",
- "name" : "#035"
- },
- {
- "y" : 63,
- "drilldown" : "036",
- "name" : "#036"
- },
- {
- "name" : "#037",
- "drilldown" : "037",
- "y" : 63
- },
- {
- "name" : "#038",
- "y" : 65,
- "drilldown" : "038"
- },
- {
- "name" : "#039",
- "drilldown" : "039",
- "y" : 60
- },
- {
- "name" : "#040",
- "drilldown" : "040",
- "y" : 66
- },
- {
- "name" : "#041",
- "y" : 69,
- "drilldown" : "041"
- },
- {
- "drilldown" : "042",
- "y" : 88,
- "name" : "#042"
- },
- {
- "name" : "#043",
- "drilldown" : "043",
- "y" : 65
- },
- {
- "drilldown" : "044",
- "y" : 81,
- "name" : "#044"
- },
- {
- "name" : "#045",
- "y" : 94,
- "drilldown" : "045"
- },
- {
- "drilldown" : "046",
- "y" : 83,
- "name" : "#046"
- },
- {
- "y" : 81,
- "drilldown" : "047",
- "name" : "#047"
- },
- {
- "y" : 106,
- "drilldown" : "048",
- "name" : "#048"
- },
- {
- "y" : 85,
- "drilldown" : "049",
- "name" : "#049"
- },
- {
- "drilldown" : "050",
- "y" : 95,
- "name" : "#050"
- },
- {
- "name" : "#051",
- "y" : 86,
- "drilldown" : "051"
- },
- {
- "y" : 82,
- "drilldown" : "052",
- "name" : "#052"
- },
- {
- "drilldown" : "053",
- "y" : 15,
- "name" : "#053"
- }
- ],
- "colorByPoint" : "true"
- }
- ],
- "plotOptions" : {
- "series" : {
- "dataLabels" : {
- "enabled" : 1,
- "format" : "{point.y}"
- },
- "borderWidth" : 0
- }
- },
- "tooltip" : {
- "followPointer" : "true",
- "pointFormat" : "<span style=\"color:{point.color}\">Challenge {point.name}</span>: <b>{point.y:f}</b><br/>",
- "headerFormat" : "<span style=\"font-size:11px\"></span>"
- },
- "xAxis" : {
- "type" : "category"
- },
"drilldown" : {
"series" : [
{
- "name" : "001",
"data" : [
[
"Perl",
@@ -324,11 +21,10 @@
11
]
],
+ "name" : "001",
"id" : "001"
},
{
- "id" : "002",
- "name" : "002",
"data" : [
[
"Perl",
@@ -342,11 +38,13 @@
"Blog",
10
]
- ]
+ ],
+ "name" : "002",
+ "id" : "002"
},
{
- "id" : "003",
"name" : "003",
+ "id" : "003",
"data" : [
[
"Perl",
@@ -363,6 +61,8 @@
]
},
{
+ "id" : "004",
+ "name" : "004",
"data" : [
[
"Perl",
@@ -376,12 +76,9 @@
"Blog",
10
]
- ],
- "name" : "004",
- "id" : "004"
+ ]
},
{
- "id" : "005",
"data" : [
[
"Perl",
@@ -396,9 +93,12 @@
12
]
],
+ "id" : "005",
"name" : "005"
},
{
+ "name" : "006",
+ "id" : "006",
"data" : [
[
"Perl",
@@ -412,12 +112,11 @@
"Blog",
7
]
- ],
- "name" : "006",
- "id" : "006"
+ ]
},
{
"id" : "007",
+ "name" : "007",
"data" : [
[
"Perl",
@@ -431,11 +130,11 @@
"Blog",
10
]
- ],
- "name" : "007"
+ ]
},
{
"name" : "008",
+ "id" : "008",
"data" : [
[
"Perl",
@@ -449,10 +148,11 @@
"Blog",
12
]
- ],
- "id" : "008"
+ ]
},
{
+ "name" : "009",
+ "id" : "009",
"data" : [
[
"Perl",
@@ -466,9 +166,7 @@
"Blog",
13
]
- ],
- "name" : "009",
- "id" : "009"
+ ]
},
{
"data" : [
@@ -489,7 +187,6 @@
"id" : "010"
},
{
- "id" : "011",
"data" : [
[
"Perl",
@@ -504,7 +201,8 @@
10
]
],
- "name" : "011"
+ "name" : "011",
+ "id" : "011"
},
{
"data" : [
@@ -521,10 +219,12 @@
11
]
],
- "name" : "012",
- "id" : "012"