diff options
| author | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2021-09-27 03:24:14 +0100 |
|---|---|---|
| committer | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2021-09-27 03:24:14 +0100 |
| commit | fca3c797b00beda9b9c6311cc56587d5de49fea4 (patch) | |
| tree | 124d58995949ef6854525295a638440713e8cad9 | |
| parent | 3b1ba3c241dff78f4ca6d92febc06f33f9affea5 (diff) | |
| download | perlweeklychallenge-club-fca3c797b00beda9b9c6311cc56587d5de49fea4.tar.gz perlweeklychallenge-club-fca3c797b00beda9b9c6311cc56587d5de49fea4.tar.bz2 perlweeklychallenge-club-fca3c797b00beda9b9c6311cc56587d5de49fea4.zip | |
- Added solutions by Colin Crain.
| -rw-r--r-- | challenge-131/colin-crain/blog.txt | 1 | ||||
| -rwxr-xr-x | challenge-131/colin-crain/perl/ch-1.pl | 70 | ||||
| -rwxr-xr-x | challenge-131/colin-crain/perl/ch-2.pl | 109 | ||||
| -rwxr-xr-x | challenge-131/colin-crain/raku/ch-1.raku | 35 | ||||
| -rwxr-xr-x | challenge-131/colin-crain/raku/ch-2.raku | 40 | ||||
| -rw-r--r-- | stats/pwc-current.json | 503 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown-summary.json | 64 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown.json | 888 | ||||
| -rw-r--r-- | stats/pwc-leaders.json | 742 | ||||
| -rw-r--r-- | stats/pwc-summary-1-30.json | 98 | ||||
| -rw-r--r-- | stats/pwc-summary-121-150.json | 102 | ||||
| -rw-r--r-- | stats/pwc-summary-151-180.json | 94 | ||||
| -rw-r--r-- | stats/pwc-summary-181-210.json | 42 | ||||
| -rw-r--r-- | stats/pwc-summary-211-240.json | 98 | ||||
| -rw-r--r-- | stats/pwc-summary-31-60.json | 104 | ||||
| -rw-r--r-- | stats/pwc-summary-61-90.json | 112 | ||||
| -rw-r--r-- | stats/pwc-summary-91-120.json | 42 | ||||
| -rw-r--r-- | stats/pwc-summary.json | 524 |
18 files changed, 1973 insertions, 1695 deletions
diff --git a/challenge-131/colin-crain/blog.txt b/challenge-131/colin-crain/blog.txt new file mode 100644 index 0000000000..376bafed55 --- /dev/null +++ b/challenge-131/colin-crain/blog.txt @@ -0,0 +1 @@ +https://colincrain.com/2021/09/26/consequential-pairings-and-secret-cuts/ diff --git a/challenge-131/colin-crain/perl/ch-1.pl b/challenge-131/colin-crain/perl/ch-1.pl new file mode 100755 index 0000000000..d731c78574 --- /dev/null +++ b/challenge-131/colin-crain/perl/ch-1.pl @@ -0,0 +1,70 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# consequential-secret-cuts.pl
+#
+# Consecutive Arrays
+# Submitted by: Mark Anderson
+# You are given a sorted list of unique positive integers.
+#
+# Write a script to return list of arrays where the arrays are consecutive integers.
+#
+# Example 1:
+# Input: (1, 2, 3, 6, 7, 8, 9)
+# Output: ([1, 2, 3], [6, 7, 8, 9])
+#
+# Example 2:
+# Input: (11, 12, 14, 17, 18, 19)
+# Output: ([11, 12], [14], [17, 18, 19])
+#
+# Example 3:
+# Input: (2, 4, 6, 8)
+# Output: ([2], [4], [6], [8])
+#
+# Example 4:
+# Input: (1, 2, 3, 4, 5)
+# Output: ([1, 2, 3, 4, 5])
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use utf8;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+
+sub consequential ( @input ) {
+ my @out;
+ my $subarray = [ shift @input ];
+ for (@input) {
+ $_ == $subarray->[-1] + 1
+ ? push $subarray->@*, $_
+ : do {
+ push @out, $subarray;
+ $subarray = [ $_ ];
+ }
+ }
+ return @out, $subarray;
+}
+
+
+my @tests = ( [1, 2, 3, 6, 7, 8, 9],
+ [11, 12, 14, 17, 18, 19],
+ [2, 4, 6, 8],
+ [1, 2, 3, 4, 5] );
+local $" = ', ';
+
+for (@tests) {
+ my $input = '(' . (join ', ', $_->@*) . ')';
+ my $output = '(' . (join ', ', map {"[$_->@*]"} consequential( $_->@* ) ) . ')';
+
+ say <<~"END";
+ input $input
+ output $output
+
+ END
+}
diff --git a/challenge-131/colin-crain/perl/ch-2.pl b/challenge-131/colin-crain/perl/ch-2.pl new file mode 100755 index 0000000000..170b816c7c --- /dev/null +++ b/challenge-131/colin-crain/perl/ch-2.pl @@ -0,0 +1,109 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# pairing-up-paring-down.pl
+#
+# Find Pairs
+# Submitted by: Yary
+# You are given a string of delimiter pairs and a string to search.
+#
+# Write a script to return two strings, the first with any
+# characters matching the “opening character” set, the second with
+# any matching the “closing character” set.
+#
+# Example 1:
+# Input:
+# Delimiter pairs: ""[]()
+# Search String:
+# "I like (parens) and the Apple ][+" they said.
+#
+# Output:
+# "(["
+# ")]"
+# Example 2:
+# Input:
+# Delimiter pairs: **//<>
+# Search String:
+# /* This is a comment (in some languages) */ <could be a tag>
+#
+# Output:
+# /**/<
+# /**/>
+
+# method:
+# the harder you look the messier this problem gets. Nested delimiters get
+# particularly so. Some assumptions:
+# 1. with matching delimiters, the second occurance should
+# close the first.
+# 2. a closing delimiter cannot be the opener for a different pair.
+# 3. a delimiter is only one character. Example 2 breaks the common
+# comment pair /* into two individual delimiters.
+# 4. should we acknowledge a close without an open before it? Hmmm...
+#
+# Oh but wait, that's not the problem. The problem wants a filtered
+# list of characters from the open set and the same from the closed. That's
+# it. No counting openings and closings — none of that. We'll break it into
+# an array of chars and use grep, then rejoin. Easy-peasy.
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use utf8;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+
+# my $delims = q|""[]()|;
+# my $input = q|"I like (parens) and the Apple ][+" they said.|;
+
+my $delims = q|**//<>|;
+my $input = q|/* This is a comment (in some languages) */ <could be a tag>|;
+
+
+
+
+my ($open, $close) = parse_delimiters( $delims );
+
+my @input = split //, $input;
+my $o_chars = join '', grep { exists $open->{$_} } @input;
+my $c_chars = join '', grep { exists $close->{$_} } @input;
+
+say <<~"END";
+ input $input
+ delims $delims
+
+ opens $o_chars
+ closes $c_chars
+ END
+
+sub parse_delimiters ( $pair_str ) {
+ my ( %open, %close );
+ while (length $pair_str > 0) {
+ $open{ substr $pair_str, 0, 1, '' } = undef;
+ $close{ substr $pair_str, 0, 1, '' } = undef;
+ }
+ return \%open, \%close;
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# use Test::More;
+#
+# is
+#
+# done_testing();
diff --git a/challenge-131/colin-crain/raku/ch-1.raku b/challenge-131/colin-crain/raku/ch-1.raku new file mode 100755 index 0000000000..6819702894 --- /dev/null +++ b/challenge-131/colin-crain/raku/ch-1.raku @@ -0,0 +1,35 @@ +#!/usr/bin/env perl6 +# +# +# .raku +# +# +# +# © 2021 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +unit sub MAIN ( @input? ) ; + + +@input.elems == 0 + && @input = 11, 12, 14, 17, 18, 19; + +my @out; +our @subarray = [ @input.shift ]; + +for @input { + $_ == @subarray[*-1] + 1 + ?? @subarray.push: $_ + !! do { + @out.push: [ |@subarray ] ; + @subarray = [ $_ ] + } +} + +@out.push: @subarray; +@out.say; + + + diff --git a/challenge-131/colin-crain/raku/ch-2.raku b/challenge-131/colin-crain/raku/ch-2.raku new file mode 100755 index 0000000000..e57d233183 --- /dev/null +++ b/challenge-131/colin-crain/raku/ch-2.raku @@ -0,0 +1,40 @@ +#!/usr/bin/env perl6 +# +# +# .raku +# +# +# +# © 2021 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +unit sub MAIN ( $delimiters = q|**//<>|, + $input = q|/* This is a comment (in some languages) */ <could be a tag>| + ) ; + +my (%delim, %chars); + +for $delimiters.comb.rotor(2) -> ($o, $c) { + %delim<o>{$o} = %delim<c>{$c} = True; +} + +for "o", "c" -> $dtype { + %chars{$dtype} = $input.comb + .grep( {%delim{$dtype}{$_}:exists} ) + .join ; +} + +say qq:to/END/; + input $input + delimiters $delimiters + + opens {%chars<o>} + closes {%chars<c>} + END + + + + + diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 0120e0c59c..e8d1e4df44 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,4 +1,192 @@ { + "subtitle" : { + "text" : "[Champions: 33] Last updated at 2021-09-27 02:22:10 GMT" + }, + "series" : [ + { + "name" : "The Weekly Challenge - 131", + "colorByPoint" : 1, + "data" : [ + { + "name" : "Abigail", + "drilldown" : "Abigail", + "y" : 4 + }, + { + "name" : "Adam Russell", + "drilldown" : "Adam Russell", + "y" : 1 + }, + { + "y" : 5, + "name" : "Arne Sommer", + "drilldown" : "Arne Sommer" + }, + { + "y" : 4, + "drilldown" : "Athanasius", + "name" : "Athanasius" + }, + { + "name" : "Ben Davies", + "drilldown" : "Ben Davies", + "y" : 1 + }, + { + "name" : "Cheok-Yin Fung", + "drilldown" : "Cheok-Yin Fung", + "y" : 3 + }, + { + "y" : 5, + "name" : "Colin Crain", + "drilldown" : "Colin Crain" + }, + { + "drilldown" : "Dave Jacoby", + "name" : "Dave Jacoby", + "y" : 3 + }, + { + "name" : "Duncan C. White", + "drilldown" : "Duncan C. White", + "y" : 2 + }, + { + "drilldown" : "E. Choroba", + "name" : "E. Choroba", + "y" : 2 + }, + { + "y" : 6, + "name" : "Flavio Poletti", + "drilldown" : "Flavio Poletti" + }, + { + "y" : 4, + "drilldown" : "Ian Goodnight", + "name" : "Ian Goodnight" + }, + { + "name" : "Ivan Dimitrov", + "drilldown" : "Ivan Dimitrov", + "y" : 2 + }, + { + "name" : "James Smith", + "drilldown" : "James Smith", + "y" : 3 + }, + { + "y" : 2, + "drilldown" : "Jan Krnavek", + "name" : "Jan Krnavek" + }, + { + "name" : "Jorg Sommrey", + "drilldown" : "Jorg Sommrey", + "y" : 1 + }, + { + "drilldown" : "Laurent Rosenfeld", + "name" : "Laurent Rosenfeld", + "y" : 3 + }, + { + "y" : 2, + "drilldown" : "Lubos Kolouch", + "name" : "Lubos Kolouch" + }, + { + "y" : 4, + "name" : "Luca Ferrari", + "drilldown" : "Luca Ferrari" + }, + { + "name" : "Mark Anderson", + "drilldown" : "Mark Anderson", + "y" : 2 + }, + { + "name" : "Matthew Neleigh", + "drilldown" : "Matthew Neleigh", + "y" : 2 + }, + { + "y" : 1, + "name" : "Mohammad S Anwar", + "drilldown" : "Mohammad S Anwar" + }, + { + "y" : 2, + "name" : "Niels van Dijke", + "drilldown" : "Niels van Dijke" + }, + { + "y" : 1, + "name" : "Olivier Delouya", + "drilldown" : "Olivier Delouya" + }, + { + "name" : "Pete Houston", + "drilldown" : "Pete Houston", + "y" : 2 + }, + { + "name" : "Peter Campbell Smith", + "drilldown" : "Peter Campbell Smith", + "y" : 2 + }, + { + "y" : 2, + "drilldown" : "Rich Snyder", + "name" : "Rich Snyder" + }, + { + "drilldown" : "Roger Bell_West", + "name" : "Roger Bell_West", + "y" : 5 + }, + { + "y" : 3, + "drilldown" : "Simon Green", + "name" : "Simon Green" + }, + { + "drilldown" : "Simon Proctor", + "name" : "Simon Proctor", + "y" : 1 + }, + { + "name" : "Ulrich Rieke", + "drilldown" : "Ulrich Rieke", + "y" : 4 + }, + { + "y" : 3, + "name" : "W. Luis Mochan", + "drilldown" : "W. Luis Mochan" + }, + { + "name" : "Wanderdoc", + "drilldown" : "Wanderdoc", + "y" : 2 + } + ] + } + ], + "plotOptions" : { + "series" : { + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + }, + "borderWidth" : 0 + } + }, + "title" : { + "text" : "The Weekly Challenge - 131" + }, "drilldown" : { "series" : [ { @@ -16,17 +204,17 @@ "id" : "Abigail" }, { + "id" : "Adam Russell", "data" : [ [ "Perl", 1 ] ], - "name" : "Adam Russell", - "id" : "Adam Russell" + "name" : "Adam Russell" }, { - "id" : "Arne Sommer", + "name" : "Arne Sommer", "data" : [ [ "Perl", @@ -41,10 +229,9 @@ 1 ] ], - "name" : "Arne Sommer" + "id" : "Arne Sommer" }, { - "name" : "Athanasius", "data" : [ [ "Perl", @@ -55,19 +242,21 @@ 2 ] ], - "id" : "Athanasius" + "id" : "Athanasius", + "name" : "Athanasius" }, { + "id" : "Ben Davies", "data" : [ [ "Raku", 1 ] ], - "name" : "Ben Davies", - "id" : "Ben Davies" + "name" : "Ben Davies" }, { + "name" : "Cheok-Yin Fung", "data" : [ [ "Perl", @@ -78,44 +267,63 @@ 1 ] ], - "name" : "Cheok-Yin Fung", "id" : "Cheok-Yin Fung" }, { + "name" : "Colin Crain", "data" : [ [ "Perl", 2 ], [ + "Raku", + 2 + ], + [ "Blog", 1 ] ], + "id" : "Colin Crain" + }, + { "name" : "Dave Jacoby", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ], "id" : "Dave Jacoby" }, { "id" : "Duncan C. White", - "name" : "Duncan C. White", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Duncan C. White" }, { - "id" : "E. Choroba", "data" : [ [ "Perl", 2 ] ], + "id" : "E. Choroba", "name" : "E. Choroba" }, { + "name" : "Flavio Poletti", + "id" : "Flavio Poletti", "data" : [ [ "Perl", @@ -129,11 +337,11 @@ "Blog", 2 ] - ], - "name" : "Flavio Poletti", - "id" : "Flavio Poletti" + ] }, { + "name" : "Ian Goodnight", + "id" : "Ian Goodnight", "data" : [ [ "Perl", @@ -143,13 +351,11 @@ "Blog", 2 ] - ], - "name" : "Ian Goodnight", - "id" : "Ian Goodnight" + ] }, { - "id" : "Ivan Dimitrov", "name" : "Ivan Dimitrov", + "id" : "Ivan Dimitrov", "data" : [ [ "Perl", @@ -172,14 +378,14 @@ "name" : "James Smith" }, { - "id" : "Jan Krnavek", - "name" : "Jan Krnavek", "data" : [ [ "Raku", 2 ] - ] + ], + "id" : "Jan Krnavek", + "name" : "Jan Krnavek" }, { "id" : "Jorg Sommrey", @@ -210,17 +416,18 @@ "name" : "Laurent Rosenfeld" }, { - "name" : "Lubos Kolouch", + "id" : "Lubos Kolouch", "data" : [ [ "Perl", 2 ] ], - "id" : "Lubos Kolouch" + "name" : "Lubos Kolouch" }, { "name" : "Luca Ferrari", + "id" : "Luca Ferrari", "data" : [ [ "Raku", @@ -230,47 +437,46 @@ "Blog", 2 ] - ], - "id" : "Luca Ferrari" + ] }, { - "id" : "Mark Anderson", + "name" : "Mark Anderson", "data" : [ [ "Raku", 2 ] ], - "name" : "Mark Anderson" + "id" : "Mark Anderson" }, { + "id" : "Matthew Neleigh", "data" : [ [ "Perl", 2 ] ], - "name" : "Matthew Neleigh", - "id" : "Matthew Neleigh" + "name" : "Matthew Neleigh" }, { + "name" : "Mohammad S Anwar", "id" : "Mohammad S Anwar", "data" : [ [ "Perl", 1 ] - ], - "name" : "Mohammad S Anwar" + ] }, { - "id" : "Niels van Dijke", "data" : [ [ "Perl", 2 ] ], + "id" : "Niels van Dijke", "name" : "Niels van Dijke" }, { @@ -280,8 +486,8 @@ 1 ] ], - "name" : "Olivier Delouya", - "id" : "Olivier Delouya" + "id" : "Olivier Delouya", + "name" : "Olivier Delouya" }, { "name" : "Pete Houston", @@ -294,28 +500,27 @@ "id" : "Pete Houston" }, { + "name" : "Peter Campbell Smith", "id" : "Peter Campbell Smith", "data" : [ [ "Perl", 2 ] - ], - "name" : "Peter Campbell Smith" + ] }, { - "id" : "Rich Snyder", + "name" : "Rich Snyder", "data" : [ [ "Perl", 2 ] ], - "name" : "Rich Snyder" + "id" : "Rich Snyder" }, { "id" : "Roger Bell_West", - "name" : "Roger Bell_West", "data" : [ [ "Perl", @@ -329,11 +534,11 @@ "Blog", 1 ] - ] + ], + "name" : "Roger Bell_West" }, { "id" : "Simon Green", - "name" : "Simon Green", "data" : [ [ "Perl", @@ -343,21 +548,22 @@ "Blog", 1 ] - ] + ], + "name" : "Simon Green" }, { "id" : "Simon Proctor", - "name" : "Simon Proctor", "data" : [ [ "Raku", 1 ] - ] + ], + "name" : "Simon Proctor" }, { - "id" : "Ulrich Rieke", "name" : "Ulrich Rieke", + "id" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -370,8 +576,8 @@ ] }, { - "id" : "W. Luis Mochan", "name" : "W. Luis Mochan", + "id" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -384,217 +590,34 @@ ] }, { + "name" : "Wanderdoc", + "id" : "Wanderdoc", "data" : [ [ "Perl", 2 ] - ], - "name" : "Wanderdoc", - "id" : "Wanderdoc" + ] } ] }, - "title" : { - "text" : "The Weekly Challenge - 131" - }, - "chart" : { - "type" : "column" - }, - "subtitle" : { - "text" : "[Champions: 32] Last updated at 2021-09-27 02:12:03 GMT" + "xAxis" : { + "type" : "category" }, "legend" : { "enabled" : 0 }, + "chart" : { + "type" : "column" + }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, - "series" : [ - { - "name" : "The Weekly Challenge - 131", - "colorByPoint" : 1, - "data" : [ - { - "drilldown" : "Abigail", - "y" : 4, - "name" : "Abigail" - }, - { - "drilldown" : "Adam Russell", - "name" : "Adam Russell", - "y" : 1 - }, - { - "drilldown" : "Arne Sommer", - "y" : 5, - "name" : "Arne Sommer" - }, - { - "name" : "Athanasius", - "y" : 4, - "drilldown" : "Athanasius" - }, - { - "y" : 1, - "name" : "Ben Davies", - "drilldown" : "Ben Davies" - }, - { - "drilldown" : "Cheok-Yin Fung", - "name" : "Cheok-Yin Fung", - "y" : 3 - }, - { - "y" : 3, - "name" : "Dave Jacoby", - "drilldown" : "Dave Jacoby" - }, - { - "y" : 2, - "name" : "Duncan C. White", - "drilldown" : "Duncan C. White" - }, - { - "drilldown" : "E. Choroba", - "name" : "E. Choroba", - "y" : 2 - }, - { - "drilldown" : "Flavio Poletti", - "y" : 6, - "name" : "Flavio Poletti" - }, - { - "drilldown" : "Ian Goodnight", - "y" : 4, - "name" : "Ian Goodnight" - }, - { - "y" : 2, - "name" : "Ivan Dimitrov", - "drilldown" : "Ivan Dimitrov" - }, - { - "drilldown" : "James Smith", - "name" : "James Smith", - "y" : 3 - }, - { - "drilldown" : "Jan Krnavek", - "name" : "Jan Krnavek", - "y" : 2 - }, - { - "name" : "Jorg Sommrey", - "y" : 1, - "drilldown" : "Jorg Sommrey" - }, - { - "drilldown" : "Laurent Rosenfeld", - "name" : "Laurent Rosenfeld", - "y" : 3 - }, - { - "name" : "Lubos Kolouch", - "y" : 2, - "drilldown" : "Lubos Kolouch" - }, - { - "name" : "Luca Ferrari", - "y" : 4, - "drilldown" : "Luca Ferrari" - }, - { - "y" : 2, - "name" : "Mark Anderson", - "drilldown" : "Mark Anderson" - }, - { - "drilldown" : "Matthew Neleigh", - "name" : "Matthew Neleigh", - "y" : 2 - }, - { - "drilldown" : "Mohammad S Anwar", - "name" : "Mohammad S Anwar", - "y" : 1 - }, - { - "drilldown" : "Niels van Dijke", - "name" : "Niels van Dijke", - "y" : 2 - }, - { - "name" : "Olivier Delouya", - "y" : 1, - "drilldown" : "Olivier Delouya" - }, - { - "drilldown" : "Pete Houston", - "y" : 2, - "name" : "Pete Houston" - }, - { - "name" : "Peter Campbell Smith", - "y" : 2, - "drilldown" : "Peter Campbell Smith" - }, - { - "drilldown" : "Rich Snyder", - "name" : "Rich Snyder", - "y" : 2 - }, - { - "drilldown" : "Roger Bell_West", - "name" : "Roger Bell_West", - "y" : 5 - }, - { - "drilldown" : "Simon Green", - "name" : "Simon Green", - "y" : 3 - }, - { - "drilldown" : "Simon Proctor", - "y" : 1, - "name" : "Simon Proctor" - }, - { - "name" : "Ulrich Rieke", - "y" : 4, - "drilldown" : "Ulrich Rieke" - }, - { - "drilldown" : "W. Luis Mochan", - "name" : "W. Luis Mochan", - "y" : 3 - }, - { - "name" : "Wanderdoc", - "y" : 2, - "drilldown" : "Wanderdoc" - } - ] - } - ], "tooltip" : { "followPointer" : 1, - "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/>" - }, - "plotOptions" : { - "series" : { - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, |
