Πρότυπο:Graph:Lines: Διαφορά μεταξύ των αναθεωρήσεων

Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Bouzinac (συζήτηση | συνεισφορές)
Χωρίς σύνοψη επεξεργασίας
Bouzinac (συζήτηση | συνεισφορές)
Χωρίς σύνοψη επεξεργασίας
Γραμμή 84:
"name": "color",
"type": "ordinal",
"domainrange": {"data"{#if: {{{colors|}}}|[{{#invoke:String|replace|"chart{{{colors}}}|,|", "field}}":] |"{{{groupcolorscheme|keycategory10}}}"}},
"domain": {"data": "chart", "field": "{{{group|key}}}"}
"range": "category10"
},
{{#if:{{{series|}}}|
Γραμμή 113:
{"scale": "x", "type": "x", "tickSizeEnd": 0
{{#ifeq:{{{xTicks|7}}}|-||, "ticks": {{{xTicks|7}}}}}
{{#if:{{{xAxis|{{{xAxisTitle|}}}}}}|, "title": "{{{xAxis|{{{xAxisTitle}}}}}}"}}
{{#if:{{{xAxisFormat|}}}|, "format": "{{{xAxisFormat}}}"}}
{{#if:{{{xGrid|}}}|, "grid": true}}
Γραμμή 119:
{"scale": "y", "type": "y", "tickSizeEnd": 0
{{#ifeq:{{{yTicks|-}}}|-||, "ticks": {{{yTicks}}}}}
{{#if:{{{yAxis|{{{yAxisTitle|}}}}}}|, "title": "{{{yAxis|{{{yAxisTitle}}}}}}"}}
{{#if:{{{yAxisFormat|}}}|, "format": "{{{yAxisFormat}}}"}}
{{#if:{{{yGrid|}}}|, "grid": true}}
Γραμμή 142:
"stroke": {"scale": "color", "field": "{{{group|key}}}"},
"interpolate": {"value": "monotone"},
"strokeWidth": {"value": {{{linewidth|2.5}}}}
}
}