template:graph:Lines से अनुवादित। कृप्या बिना मूल देखे बदलाव ना करें।
 
No edit summary
पंक्ति 1:
<includeonly>{{#tag:{{#if:{{{debug|}}}|syntaxhighlight|graph}}|</includeonly><noinclude>{{documentation}}<syntaxhighlight lang=html><graph mode="interactive" title=""></syntaxhighlight>{{#tag:syntaxhighlight|</noinclude>
<includeonly>{{safesubst:#tag:templatestyles||src="Graph:Chart/styles.css"}}{{#tag:graph|
{
//
पंक्ति 114:
{{#ifeq:{{{xTicks|7}}}|-||, "ticks": {{{xTicks|7}}}}}
{{#if:{{{xAxis|}}}|, "title": "{{{xAxis}}}"}}
{{#if:{{{xAxisFormat|}}}|, "format": "{{{xAxisFormat}}}"}}
{{#if:{{{xGrid|}}}|, "grid": true}}
},
Line 119 ⟶ 120:
{{#ifeq:{{{yTicks|-}}}|-||, "ticks": {{{yTicks}}}}}
{{#if:{{{yAxis|}}}|, "title": "{{{yAxis}}}"}}
{{#if:{{{yAxisFormat|}}}|, "format": "{{{yAxisFormat}}}"}}
{{#if:{{{yGrid|}}}|, "grid": true}}
}
Line 166 ⟶ 168:
]
}
<includeonly>}}
}}
<small>{{#switch: {{{tabletype|tab}}}
|tab= {{#invoke:TNT|msg|I18n/Template:Graphs.tab|source_table|{{#invoke:TNT|link|{{{table}}}}}}}.
|query= {{#invoke:TNT|msg|I18n/Template:Graphs.tab|source_wdqs|https://query.wikidata.org/#{{urlencode:{{{table}}}|PATH}}}}.
}}</small>
</includeonly><noinclude>{{doc|lang=javascript}}<syntaxhighlight lang=html></graph></syntaxhighlight></noinclude>