Difference between revisions of "Template:NVD3Chart/doc"

From Granblue Fantasy Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
   |chartDataX=Comma-separated list of X values
 
   |chartDataX=Comma-separated list of X values
 
   |chartDataY=Comma-separated list of Y values
 
   |chartDataY=Comma-separated list of Y values
 +
  |alt=Wikitext displayed to visitors without JS
 
   }}
 
   }}
 
   {{NVD3Series
 
   {{NVD3Series
Line 18: Line 19:
 
   |area=Shade the area between this line and the X axis? (yes/no)
 
   |area=Shade the area between this line and the X axis? (yes/no)
 
   |linear-interpolation=list of pairs of X Y values
 
   |linear-interpolation=list of pairs of X Y values
 +
  |alt=Wikitext displayed to visitors without JS
 
   }}
 
   }}
 
}}</nowiki></pre>
 
}}</nowiki></pre>

Revision as of 22:32, 6 December 2019

{{NVD3Chart
|xAxis=X Axis Label
|yAxis=Y Axis Label
|width=(CSS) Width of the chart, including units
|height=(CSS) Height of the chart, including units
|alt=Wikitext displayed to visitors without JS
|data=
  {{NVD3Series
   |label=Series label
   |color=(CSS) Line color
   |area=Shade the area between this line and the X axis? (yes/no)
   |chartDataX=Comma-separated list of X values
   |chartDataY=Comma-separated list of Y values
   |alt=Wikitext displayed to visitors without JS
  }}
  {{NVD3Series
   |label=Series label
   |color=(CSS) Line color
   |area=Shade the area between this line and the X axis? (yes/no)
   |linear-interpolation=list of pairs of X Y values
   |alt=Wikitext displayed to visitors without JS
  }}
}}
Wikitext displayed to visitors without JS