Quiq::PlotlyJs::Reference - Erzeuge Plotly.js Reference Manual
Quiq::Hash
use Quiq::PlotlyJs::Reference; use Quiq::Html::Producer; $root = Quiq::PlotlyJs::Reference->new; $h = Quiq::Html::Producer->new; $html = $root->asHtml($h);
Die Dokumentation zu Plotly.js ist umfangreich. Ein wichtiger Teil davon, die Full Reference mit der Beschreibung aller Attribute ist allerdings umständlich zu handhaben. Diese Klasse erzeugt eine übersichtlichere Fassung der Full Reference.
$ perl -MQuiq::Html::Producer -MQuiq::PlotlyJs::Reference -E '$h = Quiq::Html::Producer->new; print Quiq::PlotlyJs::Reference->new->asHtml($h)'
produziert auf stdout
<details> <summary> 0. Layout </summary> <div style="margin-left: 22px"> <p> <details> <summary> angularaxis </summary> <div style="margin-left: 22px"> <dl> <dt>Parent:</dt> <dd>layout</dd> ... und mehr als 11.000 weitere Zeilen ...
$root = $class->new;
Wurzelknoten des Dokument-Baums (Object)
Parse das Originaldokument, überführe es in einen Dokumentbaum und liefere eine Referenz auf den Wurzelknoten dieses Baums zurück.
$html = $obj->asHtml($h);
Quiq::Html::Tag Objekt.
Erzeuge ein vollständiges HTML-Dokument.
Rücke die Ebenen um $n Pixel ein.
HTML-Code (String)
Liefere die plotly.js Dokumentation in HTML.
1.184
Frank Seitz, http://fseitz.de/
Copyright (C) 2020 Frank Seitz
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Quiq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Quiq
CPAN shell
perl -MCPAN -e shell install Quiq
For more information on module installation, please visit the detailed CPAN module installation guide.