view release on metacpan or search on metacpan
t/public/css/normalize.css view on Meta::CPAN
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
}
#
# GetWorksheetChartLegendRequest
#
# Retrieve chart legend description in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @chartIndex int (required) The chart index.
# @folder string The folder where the file is situated.
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
data_type => 'GetWorksheetChartLegendRequest',
description => 'GetWorksheetChartLegend Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'get_worksheet_chart_legend' } = {
summary => 'Retrieve chart legend description in the worksheet.',
params => $params,
returns => 'LegendResponse',
};
}
#
# @return LegendResponse
#
sub get_worksheet_chart_legend{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
}
#
# PostWorksheetChartLegendRequest
#
# Update chart legend in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @chartIndex int (required) The chart index.
# @legend Legend (required)
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
data_type => 'PostWorksheetChartLegendRequest',
description => 'PostWorksheetChartLegend Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_worksheet_chart_legend' } = {
summary => 'Update chart legend in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub post_worksheet_chart_legend{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
}
#
# PutWorksheetChartLegendRequest
#
# Show chart legend in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @chartIndex int (required) The chart index.
# @folder string The folder where the file is situated.
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
data_type => 'PutWorksheetChartLegendRequest',
description => 'PutWorksheetChartLegend Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'put_worksheet_chart_legend' } = {
summary => 'Show chart legend in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub put_worksheet_chart_legend{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
}
#
# DeleteWorksheetChartLegendRequest
#
# Hides chart legend in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @chartIndex int (required) The chart index.
# @folder string The folder where the file is situated.
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
data_type => 'DeleteWorksheetChartLegendRequest',
description => 'DeleteWorksheetChartLegend Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'delete_worksheet_chart_legend' } = {
summary => 'Hides chart legend in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub delete_worksheet_chart_legend{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AsposeSlidesCloud/Object/Chart.pm view on Meta::CPAN
base_name => 'Floor',
description => 'Gets or sets the floor.',
format => '',
read_only => '',
},
'legend' => {
datatype => 'Legend',
base_name => 'Legend',
description => 'Gets or sets the legend.',
format => '',
read_only => '',
},
'axes' => {
datatype => 'Axes',
lib/AsposeSlidesCloud/Object/Chart.pm view on Meta::CPAN
'has_title' => 'boolean',
'title' => 'ChartTitle',
'back_wall' => 'ChartWall',
'side_wall' => 'ChartWall',
'floor' => 'ChartWall',
'legend' => 'Legend',
'axes' => 'Axes',
'plot_area' => 'PlotArea',
'has_rounded_corners' => 'boolean',
'series_groups' => 'ARRAY[ChartSeriesGroup]'
} );
lib/AsposeSlidesCloud/Object/Chart.pm view on Meta::CPAN
'has_title' => 'HasTitle',
'title' => 'Title',
'back_wall' => 'BackWall',
'side_wall' => 'SideWall',
'floor' => 'Floor',
'legend' => 'Legend',
'axes' => 'Axes',
'plot_area' => 'PlotArea',
'has_rounded_corners' => 'HasRoundedCorners',
'series_groups' => 'SeriesGroups'
} );
view all matches for this distribution
view release on metacpan or search on metacpan
libnova-0.15.0/doc/doxyfile.in view on Meta::CPAN
# If 0 is used for the depth value (the default), the graph is not depth-constrained.
MAX_DOT_GRAPH_DEPTH = 0
# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
# generate a legend page explaining the meaning of the various boxes and
# arrows in the dot generated graphs.
GENERATE_LEGEND = YES
# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
view all matches for this distribution
view release on metacpan or search on metacpan
examples/js/jquery-1.9.1.js view on Meta::CPAN
rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
// We have to close these tags to support XHTML (#13200)
wrapMap = {
option: [ 1, "<select multiple='multiple'>", "</select>" ],
legend: [ 1, "<fieldset>", "</fieldset>" ],
area: [ 1, "<map>", "</map>" ],
param: [ 1, "<object>", "</object>" ],
thead: [ 1, "<table>", "</table>" ],
tr: [ 2, "<table><tbody>", "</tbody></table>" ],
col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],
view all matches for this distribution
view release on metacpan or search on metacpan
public/javascripts/jquery.js view on Meta::CPAN
{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:...
d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.d...
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))...
1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null...
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<tab...
c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this)...
wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(thi...
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefo...
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType=...
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.repl...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AxKit/App/TABOO/Data.pm view on Meta::CPAN
AllowSrc => 1,
AllowMailto => 1,
Rules => {
'caption' => \&_style_callback,
'input' => \&_style_callback,
'legend' => \&_style_callback,
'table' => \&_style_callback,
'hr' => \&_style_callback,
'div' => \&_style_callback,
'p' => \&_style_callback,
'h1' => \&_style_callback,
view all matches for this distribution
view release on metacpan or search on metacpan
share/public/js/base/jquery.js view on Meta::CPAN
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Thu Jun 30 14:16:56 2011 -0400
*/
(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("ifram...
shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\...
)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/Backend.pm view on Meta::CPAN
}
if ($runner eq 'Benchmark') {
die "Bench with Benchmark.pm currently does not support on multiperl or multimodver\n" if $args{multiperl} || $args{multimodver};
my %codes;
my %legends;
for my $it (@$items) {
my $key = $it->{_succinct_name};
if (!length($key)) {
$key = $it->{seq};
}
if (exists $codes{$key}) {
$key .= " #$it->{seq}";
}
$codes{$key} = $it->{_code};
$legends{$key} = join(
" ", map {"$_=$it->{$_}"}
grep { !/^_/ }
sort keys %$it
);
}
lib/Bencher/Backend.pm view on Meta::CPAN
my ($stdout, @res) = &Capture::Tiny::capture_stdout(
sub {
Benchmark::cmpthese($precision, \%codes);
print "\n";
print "Legends:\n";
for (sort keys %legends) {
print " ", $_, ": ", $legends{$_}, "\n";
}
});
$envres->[3]{'cmdline.skip_format'} = 1;
$envres->[2] = $stdout;
goto RETURN_RESULT;
view all matches for this distribution
view release on metacpan or search on metacpan
data/wiki2.html view on Meta::CPAN
<script async="" src="./Star Trek _ Memory Alpha _ Fandom_files/load(1).php"></script>
<link rel="stylesheet" href="./Star Trek _ Memory Alpha _ Fandom_files/styles.css">
<style>
@import url(https://memory-alpha.fandom.com/load.php?mode=articles&articles=MediaWiki:Sidebars.css&only=styles);table.wiki-sidebar{gre border:1px solid #666;background-color:#222222;color:inherit;clear:right;float:right;width:300px;margin-top:0em;mar...
@keyframes fade-in{to{opacity:1}}@keyframes fade-in{to{opacity:1}}@keyframes fade-in{to{opacity:1}}@keyframes fade-in{to{opacity:1}}@keyframes fade-in{to{opacity:1}}@keyframes fade-in{to{opacity:1}}.porvata-outstream{max-width:640px;position:relative...
.WikiaArticleInterlang{-webkit-box-align:baseline;align-items:baseline;clear:both;display:-webkit-box;display:flex;margin:10px;padding:10px 0 0}.WikiaArticleInterlang .article-inter-lang-header{float:left;margin-right:5px}.WikiaArticleInterlang ul{li...
.mw-editfont-monospace{font-family:monospace,monospace}.mw-editfont-sans-serif{font-family:sans-serif}.mw-editfont-serif{font-family:serif} .mw-editfont-monospace,.mw-editfont-sans-serif,.mw-editfont-serif{font-size:13px; }.mw-editfont-monospace.oo-u...
.ve-init-mw-progressBarWidget{height:1em;overflow:hidden;margin:0 25%}.ve-init-mw-progressBarWidget-bar{height:1em;width:0} .ve-init-mw-progressBarWidget{height:0.75em;border:1px solid #36c;background:#fff;border-radius:2px;box-shadow:0 0.1em 0 0 rgb...
.CategorySelect.articlePage{background-color:var(--theme-page-background-color--secondary);background-image:none;border:1px solid var(--theme-border-color);clear:both;font-size:12px;line-height:normal;margin:10px 0;padding:0;position:relative}.Catego...
.featured-video__attribution-container{border-bottom:1px solid var(--theme-border-color)}.featured-video__attribution-icon,.featured-video__attribution-username{color:rgba(var(--theme-page-text-color--rgb),.75)}
.jwplayer .jw-button-container .jw-icon-next,.jwplayer .jw-button-container .jw-icon-rewind,.jwplayer .jw-button-container .jw-related-btn,.jwplayer .jw-button-container .jw-settings-sharing,.jwplayer .jw-display-container .jw-display-icon-next,.jwpl...
view all matches for this distribution
view release on metacpan or search on metacpan
my $cls = shift;
my $self = {
'axislist' => []
# Defaults that will be overridden by parameters given to this new()
,'x_legend' => 'Time - mins', 'x_pixels' => 600, 'y_pixels' => 300
,'y1_legend' => 'Memory | MB', 'y1_min_value' => 0, 'y1_color' => '#ff0000'
,'y2_legend' => 'CPU | %', 'y2_max_value' => 0, 'y2_color' => '#00dd00'
};
my @positionalParameterNames = qw(source x_pixels y_pixels x_max_value y1_max_value y2_max_value);
for ( @_ ) {
if ( ref($_) eq 'HASH' ) {
'y1_ticks' => 'true', 'y1_tick_number' => 12,
'y2_ticks' => 'true', 'y2_tick_number' => 10,
'transparent' => 1, 'box_axis' => 0, 'line_width' => 2,
);
my @needsLegends = ( $x_axis, $y1_axis, $y2_axis ); # We'll build legends from this array later.
my @funcDataColors = ($y1_axis->{color}); # $graph->plot() needs this, below.
# Plot the function entries / exits
my @nullAxis; map { push @nullAxis, undef } @{$x_axis->{data}};
my $allAxis = [$x_axis->{data}, \@nullAxis];
print HTM $self->htmlScript();
# Print any style (e.g., css) into the <head>
print HTM $self->htmlStyle();
print HTM '</head><body>';
# print <img> of the graph and the legends surrounding it.
print HTM $self->htmlGraph();
print HTM '<tr><td align=center colspan=5><iframe id=detailview src=benchmarkHarnessGraphNullFrame.htm frameborder=0 height=80 width=500></iframe></td></tr>';
print HTM <<EOT;
<tr><td colspan=5><table width=100% align=center>
my $firstEntry = int($axis->{first_entry}+0.50);
my $lastEntry = int($axis->{last_entry}+0.50);
my $totalTime = int(($axis->{total_time}*100)+0.50)/100;
print HTM <<EOT;
<tr>
<td><font color='$color'><b>$axis->{legend}</b></font></td>
<td align=right>$firstEntry</td>
<td align=right>$lastEntry</td>
<td align=right>$countEntry</td>
<td align=right>$totalTime</td>
</tr>
### Return the <div> representing what gets displayed by hotspot click.
### Put this in a display:none element so it shows only via <script> control.
sub hotspotText {
my ($self, $axislist, $idx) = @_;
return <<EOT;
<div id=hs_$idx style='position:absolute;display:none;top:0;left:0;'>$axislist->[$idx]->{legend}</div>
EOT
}
### ################################################################################################
### Return the entire <style> element to insert in the html <head>
sub htmlStyle {
<<EOT;
<style>
<!--
.x_legend {
font-weight: bold;
text-align: center;
}
.y1_legend {
font-weight: bold;
font-size: 12;
text-align: center;
vertical-align: middle;
text-color: green;
}
.y2_legend {
font-weight: bold;
font-size: 12;
text-align: center;
vertical-align: middle;
text-color: red;
sub htmlGraph {
my $self = shift;
my ($href) = ($self->{graphFilename} =~ m{([^/]*)$});
my $x_legend = $self->{x_legend} || 'Time';
my $y1_legend = $self->{y1_legend} || 'Memory';
$y1_legend =~ s{(.)}{$1<br>}g;
my $y2_legend = $self->{y2_legend} || 'CPU';
$y2_legend =~ s{(.)}{$1<br>}g;
<<EOT;
<table width=700 align=center cellspacing=10>
<tr>
<td width=6% class=y1_legend><font color='$self->{y1_color}'>$y1_legend</font></td>
<td width=4%> </td>
<td align=center><img src="$href" USEMAP="#clientsidemap" border=0></td>
<td width=4%> </td>
<td width=6% class=y2_legend><font color='$self->{y2_color}'>$y2_legend</font></td>
</tr>
<tr><td colspan=3 class=x_legend>$x_legend</td></tr>
EOT
}
### ################################################################################################
### ################################################################################################
package Benchmark::Harness::GraphLineData;
use strict;
### ################################################################################################
# new($legend, $color)
sub new {
return bless
{
'data' => $_[1]
,'legend' => $_[2]
,'color' => $_[3]
,'line_width' => defined($_[4])?$_[4]:1
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
share/templates/google-chart-line.tt view on Meta::CPAN
);
var options = {
title: 'Perl::Formance - Perl release versions (unit=seconds, smaller=better)',
curveType: 'function',
legend: { position: 'bottom' }
};
var chart = new google.visualization.LineChart(document.getElementById('curve_chart'));
chart.draw(data, options);
view all matches for this distribution
view release on metacpan or search on metacpan
share/P6STD/std_hilite/jquery-1.4.2.min.js view on Meta::CPAN
{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:...
d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.d...
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))...
1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null...
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<tab...
c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this)...
wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(thi...
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefo...
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType=...
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.repl...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Biblio/Thesaurus.pm view on Meta::CPAN
of these lines:
%lang PT EN FR
%languages PT EN FR
To describe (legend) the language names, you should use the B<description>
command, so, you could append:
%description PT Portuguese
%description EN English
%description FR French
view all matches for this distribution
view release on metacpan or search on metacpan
docs/keyword_cookbook/RPCSoap/Kids/lib/Kids/GEN/Child.pm view on Meta::CPAN
);
return {
name => 'child',
row => $row,
legend => $self->path_info =~ /edit/i ? 'Edit' : 'Add',
fields => [
{
name => 'name',
label => 'Name',
type => 'text',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/Align/Graphics.pm view on Meta::CPAN
# wrapped at a set base and stacked vertically
# Addition of internal members y_num and y_size for tracking
# of number of vertical panels and size of panels,
# respectively
#
#09/06/2006 - WDM - Introduction of "p_legend" flag, for printing of an optional
# colored legend when protein coloring is selected
#
#09/24/2008 - WDM - Test file created for the module
#
#03/01/2009 - YH - Introduction of "show_nonsynonymous" flag which enables
# highlighting of nonsynonymous mutations in nucleotide
lib/Bio/Align/Graphics.pm view on Meta::CPAN
bg_color => $options{bg_color} || 'white',
fg_color => $options{font_color} || 'black',
x_label_color => $options{x_label_color} || 'blue',
y_label_color => $options{y_label_color} || 'red',
p_color => $options{p_color} || undef,
p_legend => $options{p_legend} || undef,
p_color_table => undef,
#Sequence Defaults
reference => $options{reference} || undef,
reference_id => $options{reference_id} || undef,
lib/Bio/Align/Graphics.pm view on Meta::CPAN
$self->{width} = $self->{seq_start_x} + ((( $self->{wrap} / $self->{block_size}) + 1) * $self->{block_space}) + ($self->{wrap} + $self->{pad_right}) * $self->{x_char_size};
}
$self->{footer_start} = $self->{seq_start_y} + $self->{y_size} * $self->{y_num};
if(defined($self->{p_color}) && defined($self->{p_legend}) && $self->{p_legend}){
$self->{height} = $self->{seq_start_y} + $self->{footer_size} + $self->{y_size} * $self->{y_num};
}else{
$self->{height} = $self->{seq_start_y} + $self->{y_size} * $self->{y_num};
}
$self->{image} = GD::Simple->new($self->{width},$self->{height});
lib/Bio/Align/Graphics.pm view on Meta::CPAN
}
if(defined($self->{p_color}) && $self->{seq_format} eq "protein")
{
$self->_draw_colored_sequences();
if(defined($self->{p_legend}) && $self->{p_legend})
{
$self->_draw_legend();
}
}elsif(defined($self->{p_color}) && ($self->{seq_format} ne "protein"))
{
die "draw:Option p_color only works with Protein alignments!\n";
}else
lib/Bio/Align/Graphics.pm view on Meta::CPAN
$block_total = 0;
}
}
}
sub _draw_legend{
my $self = shift;
my $title_font = $FONT_TABLE{3};
my @l_order = ("Negatively Charged", "Positively Charged", "Hydrophobic", "Aromatic", "Found in Loops", "Large Polar Acids");
my %legend = ("Negatively Charged" => ["D" , "E"] , "Positively Charged" => ["K", "R"] , "Hydrophobic" => ["A","F","I","L","M","V","W","Y"] ,
"Aromatic" => ["F", "H", "W", "Y"] , "Found in Loops" => ["D", "G", "P", "S", "T"] , "Large Polar Acids" => ["H", "K", "N", "Q", "R"]);
my $x1 = 2;
my $x2 = 42;
lib/Bio/Align/Graphics.pm view on Meta::CPAN
$self->{image}->moveTo( $x2 * $self->{x_char_size}, $y_start + ( ($count - 1) * $self->{y_char_size}));
$self->{image}->font($self->{font});
$self->{image}->string($c_label);
my $i = 0;
foreach my $chars(@{$legend{$c_label}})
{
$self->{image}->bgcolor($$colors{$chars});
$self->{image}->fgcolor($$colors{$chars});
$self->{image}->rectangle( ($x2 + 20 + $i) * $self->{x_char_size}, $y_start + ( ($count - 2) * $self->{y_char_size}), ($x2 + 20 + $i + 1) * $self->{x_char_size}, $y_start + ( ($count -1) * $self->{y_char_size}));
$self->{image}->bgcolor($self->{bg_color});
lib/Bio/Align/Graphics.pm view on Meta::CPAN
{
$self->{image}->moveTo($x1 * $self->{x_char_size} , $y_start + ($count * $self->{y_char_size}));
$self->{image}->font($self->{font});
$self->{image}->string($c_label);
my $i = 0;
foreach my $chars(@{$legend{$c_label}})
{
$self->{image}->bgcolor($$colors{$chars});
$self->{image}->fgcolor($$colors{$chars});
$self->{image}->rectangle( ($x1 + 20 + $i) * $self->{x_char_size}, $y_start + ( ($count - 1) * $self->{y_char_size}), ($x1 + 20 + $i + 1) * $self->{x_char_size}, $y_start + ( ($count) * $self->{y_char_size}));
$self->{image}->bgcolor($self->{bg_color});
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/App/SELEX/Stockholm.pm view on Meta::CPAN
# init output array
my @out;
push @out, "# STOCKHOLM 1.0";
# determine alignment columns, legend columns & effective columns per line
my $acols = $self->columns;
my $lcols = $self->lcols;
my $colstep = $maxcols < 1 ? $acols : $maxcols - $lcols - 1;
$colstep = $maxcols
if $colstep < 1; # protect against negative and 0 colstep...
lib/Bio/App/SELEX/Stockholm.pm view on Meta::CPAN
}
# pretty print line(s)
sub prettify {
my ($self, $lcols, $legend, @data) = @_;
# This horribly inefficient/redundant series of transformations comes out with something I like (IH, 7/24/07)
# Trim it down? pah! Like I have nothing better to do
$legend = sprintf ("% ${lcols}s", $legend);
$legend =~ s/^(\s+)(\#=\S\S)(\s+\S+)$/$2$1$3/;
$legend =~ s/^(\s+)(\#=\S\S\s+\S+)(\s+\S+)$/$2$1$3/;
$legend =~ s/^(\s\s\s\s\s)(\s+)([^\#]\S+)/$1$3$2/;
return map ("$legend $_", @data);
# (pukes into cold coffee cup)
}
# legend width (subtract this from maxcols-1 to get number of columns available for sequence display)
sub lcols {
my ($self) = @_;
my $lcols = max ($self->maxNameLen,
map(length("#=GF $_"), keys(%{$self->gf})),
map(length("#=GC $_"), keys(%{$self->gc})));
view all matches for this distribution
view release on metacpan or search on metacpan
bin/BS_Cartoonist.pl view on Meta::CPAN
"site_specific_recombination_target_region" => 1, "intron" => 1,
"repeat_family" => 1, "universal_telomere_cap" => 1, "deletion" => 1);
my %labeling = ("gene" => 1, "centromere" => 1, "ARS" => 1);
my %legending = (
"stop_retained_variant" => "stop swap",
"PCR_product" => "PCRTag amplicon",
"ARS" => "ARS",
"intron" => 0, "centromere" => 0,
"universal_telomere_cap" => "Telomere seed sequence",
bin/BS_Cartoonist.pl view on Meta::CPAN
}
#Draw Key
$x = 500;
$y += 100;
foreach my $type (grep {exists $legending{$_}} keys %index)
{
print "got a $type!\n";
my %objs;
if ($type eq 'CDS')
{
bin/BS_Cartoonist.pl view on Meta::CPAN
}
foreach my $text (keys %objs)
{
my $xywref = [$x, $y, 50];
my $obj = $objs{$text};
$text = $legending{$type} if ($legending{$type});
print "keying $text\n";
my $thref = ($key->text_extents($text));
my $xbeg = $p{LEFT_MARGIN};
my $xend = $p{LEFT_DATA_MARGIN} + $LastScaleMidLen + $p{RIGHT_REP_WIDTH};
draw_feature($key, $obj, $xbeg, $xend, 0, \%p, $xywref);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/GeneDesign/Graph.pm view on Meta::CPAN
marker_size => 2,
dclrs => \@colors,
) || croak $graph->error;
my $data = [];
my @legend;
my $first = 0;
my %AAfams = map {$_ => scalar(@{$revcodon_t->{$codon_t->{$_}}})}
keys %$codon_t;
my %perc_t = map {$_ => $rscu_t->{$_} / $AAfams{$_}}
keys %$codon_t;
lib/Bio/GeneDesign/Graph.pm view on Meta::CPAN
{
my ($x, $y) = index_codon_percentages($seqobj->seq, $window, \%perc_t);
push @$data, $x if ($first == 0);
push @$data, $y;
$first++;
push @legend, $seqobj->id;
}
$graph->set_legend(@legend);
my $format = $graph->export_format;
return ($graph->plot($data)->$format(), $format);
}
=head2 dotplot()
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/Gonzales/Util/Graphics/Color/Generator.pm view on Meta::CPAN
my @colors = map { join " ", @{$_} } @{$colors};
return @colors;
}
sub create_legend {
my ( $self, $args ) = @_;
my $a = $args;
if ( ref $args eq 'ARRAY' ) {
my @colors = $self->generate_as_hex( scalar @{$args} );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/Graphics/Glyph/decorated_transcript.pm view on Meta::CPAN
my $self = shift;
warn "draw_component(): " . ref($self) . " " . $self->feature . "\n" if (DEBUG == 2);
# draw regular glyph first
if ( $self->feature->source eq 'legend' ) {
# hack, but processed_transcript cannot be drawn without arrow...
$self->Bio::Graphics::Glyph::segments::draw_component(@_);
}
else {
$self->Bio::Graphics::Glyph::processed_transcript::draw_component(@_);
view all matches for this distribution
view release on metacpan or search on metacpan
scripts/Data/psi-mi.obo view on Meta::CPAN
subset: PSI-MI slim
is_a: MI:0668 ! feature attribute name
[Term]
id: MI:0599
name: figure legend
def: "Text pointing to a specific paper figure legend where the experimental evidences for an interaction are to be found." [PMID:14755292]
subset: PSI-MI slim
is_a: MI:0664 ! interaction attribute name
is_a: MI:0665 ! experiment attibute name
[Term]
view all matches for this distribution
view release on metacpan or search on metacpan
bin/export-itol.pl view on Meta::CPAN
dpi=300
display_mode=2
current_font_name=Courier
datasets_visible=3
range_mode=2
include_ranges_legend=1
=for Euclid: file.type: readable
=item --in[-strip]=<str>
view all matches for this distribution
view release on metacpan or search on metacpan
bin/draw_bgc_maps.pl view on Meta::CPAN
$img->font($font);
$img->fontsize(30);
$img->string($domain->{$ARGV_label});
}
# draw legend
my %legend_for = (
'substrate-selection' => { x_start => 0 + $left_margin,
y_start => 150 + $y_cluster, color => 'deepskyblue' },
'carrier-protein' => { x_start => 525 + $left_margin,
y_start => 150 + $y_cluster, color => 'mediumseagreen' },
'condensation' => { x_start => 0 + $left_margin,
bin/draw_bgc_maps.pl view on Meta::CPAN
y_start => 300 + $y_cluster, color => 'peru' },
'tailoring/other' => { x_start => 0 + $left_margin,
y_start => 450 + $y_cluster, color => 'navajowhite' },
);
for my $legend (keys %legend_for) {
$img->bgcolor( $legend_for{$legend}{color} );
$img->fgcolor('black');
my $x1 = $legend_for{$legend}{x_start};
my $y1 = $legend_for{$legend}{y_start};
my $x2 = $x1 + 125;
my $y2 = $y1 + 75;
$img->rectangle($x1, $y1, $x2, $y2); # (top_left_x, top_left_y, bottom_right_x, bottom_right_y)
$img->moveTo( $x2 + 15, ($y1 + $y2)/2 + 12.5);
$img->font($font);
$img->fontsize(30);
$img->string($legend);
}
# convert into png data
my $output = $ARGV_outdir . $ARGV_prefix . 'Cluster' . $cluster_rank . '_'
. $cluster_type . '.png';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/Phylo/Treedrawer/Abstract.pm view on Meta::CPAN
}
}
);
$logger->debug("going to draw node pie charts");
$self->_draw_pies;
$logger->debug("going to draw legend");
$self->_draw_legend;
return $self->_finish;
}
sub _draw_pies {
my $self = shift;
$logger->warn( ref($self) . " can't draw pies" );
}
sub _draw_legend {
my $self = shift;
$logger->warn( ref($self) . " can't draw a legend" );
}
sub _finish {
my $self = shift;
throw 'NotImplemented' => ref($self) . " won't complete its drawing";
view all matches for this distribution
view release on metacpan or search on metacpan
Bio/Prospect/Thread.pm view on Meta::CPAN
$alignment =~ s/^.*$/echo '$&'/gm;
$stringio->print("echo 'Alignment:'\n",
$alignment, "\n");
## color the identities, similarities, mismatches
## simultaneously selects/colors and echos the legend
$stringio->print("load pdb inline\n", # must load before selecting
"echo \n",
"echo 'Legend:'\n",
"echo ' set names in quotes may be used with select'\n");
my @select_me;
view all matches for this distribution
view release on metacpan or search on metacpan
bin/create_pan_genome_plots.R view on Meta::CPAN
ggplot(data = genes, aes(x = genomes, y = genes_to_genomes, group = Key, linetype=Key)) +geom_line()+
theme_classic() +
ylim(c(1,max(total)))+
xlim(c(1,length(total)))+
xlab("No. of genomes") +
ylab("No. of genes")+ theme_bw(base_size = 16) + theme(legend.justification=c(0,1),legend.position=c(0,1))+
ggsave(filename="conserved_vs_total_genes.png", scale=1)
######################
unique_genes = colMeans(read.table("number_of_unique_genes.Rtab"))
bin/create_pan_genome_plots.R view on Meta::CPAN
ggplot(data = genes, aes(x = genomes, y = genes_to_genomes, group = Key, linetype=Key)) +geom_line()+
theme_classic() +
ylim(c(1,max(unique_genes)))+
xlim(c(1,length(unique_genes)))+
xlab("No. of genomes") +
ylab("No. of genes")+ theme_bw(base_size = 16) + theme(legend.justification=c(1,1),legend.position=c(1,1))+
ggsave(filename="unique_vs_new_genes.png", scale=1)
view all matches for this distribution
view release on metacpan or search on metacpan
scripts/plot_timings.R view on Meta::CPAN
geom_line(linewidth = 0.4) +
scale_y_continuous(trans = 'log2', breaks = c(8, 16, 32, 64, 128, 256)) + theme_bw() + theme(
panel.grid.minor = element_blank(),
panel.grid.major = element_blank(),
axis.text.x = element_text(size = 8),
legend.position="bottom"
) + scale_color_viridis_d(name = "Chunk Size") +
scale_x_continuous(
trans = 'log2',
breaks = c(1, 2, 4, 8, 12, 18, 27, 36, 45, 54, 63, 72)
) +
scripts/plot_timings.R view on Meta::CPAN
alpha = 0.2) +
theme_bw() + theme(
panel.grid.minor = element_blank(),
panel.grid.major = element_blank(),
axis.text.x = element_text(size = 8),
legend.position="bottom"
) +
scale_y_continuous(trans = 'log2', breaks = c(8, 16, 32, 64, 128, 256)) +
scale_x_continuous(
trans = 'log2',
breaks = c(1, 2, 4, 8, 12, 18, 27, 36, 45, 54, 63, 72)
scripts/plot_timings.R view on Meta::CPAN
alpha = 0.2) +
theme_bw() + theme(
panel.grid.minor = element_blank(),
panel.grid.major = element_blank(),
axis.text.x = element_text(size = 8),
legend.position="bottom"
) +
scale_y_continuous(trans = 'log2',breaks =2^(4:9)) +
geom_segment(
x = log2(36),
xend = log2(72),
scripts/plot_timings.R view on Meta::CPAN
ggplot(datOpenMP, aes(x = Workers, y = Num_threads, z = fitTime)) +
geom_contour(aes(colour = after_stat(level))) +theme_bw() + theme(
panel.grid.minor = element_blank(),
panel.grid.major = element_blank(),
axis.text.x = element_text(size = 8),
legend.position="bottom"
) +
scale_color_viridis(discrete=FALSE,name="Time (log2 sec)") +
geom_point(data=minTime,aes(x=Workers,y=Num_threads),color="black",shape="+")+
scale_y_continuous(trans = 'log2', breaks = c(1, 2, 4, 8, 18, 36,72)) +
scale_x_continuous(trans = 'log2', breaks = c(1, 2, 4, 8, 18, 36,72)) +
scripts/plot_timings.R view on Meta::CPAN
ggplot(datOpenMP, aes(x = Workers, y = Num_threads, z = fitSpaceTime)) +
geom_contour(aes(colour = after_stat(level))) +theme_bw() + theme(
panel.grid.minor = element_blank(),
panel.grid.major = element_blank(),
axis.text.x = element_text(size = 8),
legend.position="bottom"
) +
scale_color_viridis(discrete=FALSE,name="Resource Use ( cp x s)") +
geom_point(data=minSpaceTime,aes(x=Workers,y=Num_threads),color="black",shape="+")+
scale_y_continuous(trans = 'log2', breaks = c(1, 2, 4, 8, 18, 36,72)) +
scale_x_continuous(trans = 'log2', breaks = c(1, 2, 4, 8, 18, 36,72)) +
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/Tools/CodonOptTable.pm view on Meta::CPAN
, #the min value of y-axis, note set below 0 if negative values are required
y_tick_number => 20, #y-axis scale increment
y_label_skip => 1, #label every other y-axis marker
box_axis => 0, #do not draw border around graph
line_width => 2, #width of lines
legend_spacing => 5, #spacing between legend elements
legend_placement => 'RC', #put legend to the centre right of chart
dclrs => \@category_colours
, #reference to array of category colours for each line
bgclr => 'red',
long_ticks => 0,
tick_length => 3,
x_labels_vertical => 1,
) || die "\nFailed to create line graph: $bar_graph->error()";
$bar_graph->set_legend( 'RSCU Value', 'RAC Value' );
my $plot = $bar_graph->plot( \@bar_graph_table );
my $line_file = $output_file;
open( GPH, ">$line_file" )
view all matches for this distribution
view release on metacpan or search on metacpan
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_MULTI_TARGETS = NO
# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
# explaining the meaning of the various boxes and arrows in the dot generated
# graphs.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
view all matches for this distribution