Module:Graph/doc: Difference between revisions

Content deleted Content added
m clarity
fix docs
 
(5 intermediate revisions by 5 users not shown)
Line 1:
{{#if:{{{1|}}}||<!-- Parts not to be transcluded from the wrapper templates -->
{{High-use}}
{{Module rating |protected}}
{{Lua sidebar}}
Line 27 ⟶ 28:
}}{{#if:{{{1|}}}||
* '''formatjson:''' format JSON object for better legibility
* '''title''': The title of the graph, used by [[User:GraphBot]] when converting.
* '''name''': The name of the graph, required by [[User:GraphBot]] to convert the graph.
 
=== <code>chart</code> ===
Line 64 ⟶ 67:
* '''xGrid''' and '''yGrid''': display grid lines on the x and y axes.
* '''Annotations'''
** '''vAnnotationsLinevAnnotatonsLine''' and '''hAnnotationsLinehAnnotatonsLine''': display vertical or horizontal annotation lines on specific values e.g. <code>hAnnotationsLinehAnnotatonsLine=4, 5, 6</code>
** '''vAnnotationsLabelvAnnotatonsLabel''' and '''hAnnotationsLabelhAnnotatonsLabel''': display vertical or horizontal annotation labels for lines e.g. <code>hAnnotationLabelhAnnotatonsLabel = label1, label2, label3</code>
}}{{#if:{{{1|}}}||
* '''formatjson''': format JSON object for better legibility
* '''title''': The title of the graph, used by [[User:GraphBot]] when converting.
* '''name''': The name of the graph, required by [[User:GraphBot]] to convert the graph.
 
=== Template wrappers ===
Line 81 ⟶ 86:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Graph, chartTemplate and plot templatesCollection]]
}}</includeonly>
}}<noinclude>
}}
[[Category:Module documentation pages]]
</noinclude>