Difference between revisions of "Template:NVD3Chart/doc"

From Granblue Fantasy Wiki
Jump to navigation Jump to search
m
Line 17: Line 17:
 
   |color=(CSS) Line color
 
   |color=(CSS) Line color
 
   |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)
   |chartDataX=Comma-separated list of X values
+
   |linear-interpolation=list of pairs of X Y values
  |chartDataY=Comma-separated list of Y values
 
 
   }}
 
   }}
 
}}</nowiki></pre>
 
}}</nowiki></pre>
Line 39: Line 38:
 
|chartDataY={{User:Midokuni/data/Chart|2%}}
 
|chartDataY={{User:Midokuni/data/Chart|2%}}
 
|color=#2ca02c
 
|color=#2ca02c
 +
  }}
 +
  {{NVD3Series
 +
|label=Stamina Damage Bonus - Large SL15
 +
|linear-interpolation=0 0  25 0  100 15
 +
|color=orange
 
   }}
 
   }}
 
}}
 
}}
  
 
{{#widget:NVD3JS}}
 
{{#widget:NVD3JS}}

Revision as of 22:31, 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
  }}
  {{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
  }}
}}
Wikitext displayed to visitors without JS