ਮੌਡਿਊਲ:ChartColors/doc: ਰੀਵਿਜ਼ਨਾਂ ਵਿਚ ਫ਼ਰਕ

ਸਮੱਗਰੀ ਮਿਟਾਈ ਸਮੱਗਰੀ ਜੋੜੀ
"Used by '''{{tl|ChartColors}}''' and '''{{tl|ChartColorLegends}}''' To translate or review the translation of the module to your language, edit carefu..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
 
(ਕੋਈ ਫ਼ਰਕ ਨਹੀਂ)

15:10, 29 ਮਾਰਚ 2020 ਮੁਤਾਬਕ ਸਭ ਤੋਂ ਨਵਾਂ ਦੁਹਰਾਅ

Used by {{ChartColors}} and {{ChartColorLegends}}

To translate or review the translation of the module to your language, edit carefully Data:I18n/ChartColors.tab.

Function ShowColors ਸੋਧੋ

Code Result
{{#invoke:ChartColors|ShowColors|Categ20|5}}                    
{{ChartColors|Categ20|9}}                                    
{{#invoke:ChartColors|ShowColors|Categ20|3|-}}     #1f77b4       #ff7f0e       #2ca02c  
{{#invoke:ChartColors|ShowColors|Categ20|3|a}}     #1f77b4ff       #ff7f0eff       #2ca02cff  
{{#invoke:ChartColors|ShowColors|Plotter|5}}                    
{{ChartColors|Plotter|20}}                                                                                

Function Legends ਸੋਧੋ

{{#invoke:ChartColors|Legends|Categ20|5|2}}

produces:

  • 1f77b4
  • ff7f0e
  • 2ca02c
  • d62728
  • 9467bd
  • {{div col|colwidth=2}}
     {{legend|#1f77b4|}}
     {{legend|#ff7f0e|}}
     {{legend|#2ca02c|}}
     {{legend|#d62728|}}
     {{legend|#9467bd|}}
    {{div col end}}
    


    {{#invoke:ChartColors|Legends|Categ20|3|1|One|Two|Three}}
    

    produces:

  • One
  • Two
  • Three
  • {{div col|colwidth=1}}
     {{legend|#1f77b4|One}}
     {{legend|#ff7f0e|Two}}
     {{legend|#2ca02c|Three}}
    {{div col end}}