Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
playground:plugins [2024/07/23 05:07] userplayground:plugins [2024/09/11 04:56] (current) – [Plugins] rahul
Line 6: Line 6:
   - backup   - backup
   - bureaucracy & pagemod   - bureaucracy & pagemod
-  - gchart +  -<del> gchart</del> 
-  - Google Authentication Plugin allows to sign in to DokuWiki using OAuth 2.0+  - <del>Google Authentication Plugin allows to sign in to DokuWiki using OAuth 2.0</del>
   - Adds a legal (or other) notice below the login form   - Adds a legal (or other) notice below the login form
   - Create a DokuWiki page from a file   - Create a DokuWiki page from a file
   - Displays a CSV file, or inline CSV data, as a table   - Displays a CSV file, or inline CSV data, as a table
   - Show PDF files using PDF.js   - Show PDF files using PDF.js
 +  - https://github.com/nomadjimbob/mikioplugin/wiki
 +
 +===== Developer warning =====
  
 <note warning>CSV MIME type text/csv has been enabled</note> <note warning>CSV MIME type text/csv has been enabled</note>
  
-<note>Inline CSV</note>+===== Sample data =====
  
-;#; +<note tip>Inline CSV</note> 
-<csv playground:2kW.csv></csv> +<csv playground:2kWy2.csv></csv>
-;#;+
  
-<note tip>ApexCharts</note>+===== Datatable with include ===== 
 +<datatable page-length="20"> 
 +{{page>playground:sampledata}} 
 +</datatable> 
 + 
 +===== ApexCharts ===== 
 + 
 +<note tip>ApexCharts: only one y-axis is supported from CSV via JSON conversion in PHP</note>
  
 <achart url=https://gist.github.com/karl257/6e799cc0d8a5e47ac11d97672a6890dc/raw/0a80ea7ff3b89d0f376aec0eff0d817550b32334/convertcsv.csv height=320px align=center> <achart url=https://gist.github.com/karl257/6e799cc0d8a5e47ac11d97672a6890dc/raw/0a80ea7ff3b89d0f376aec0eff0d817550b32334/convertcsv.csv height=320px align=center>
Line 27: Line 36:
   chart: {   chart: {
       height: 350,       height: 350,
-      type: "line"+      type: 'line', 
 +  }, 
 +  stroke: { 
 +    width: 2, 
 +    curve: "smooth"
   },   },
   dataLabels: {   dataLabels: {
       enabled: false       enabled: false
-  }, 
-  stroke: { 
-      width: 2, 
-      curve: "smooth" 
   },   },
   title: {   title: {
-      text: "Solar Generation",+      text: "From web",
   }   }
 } }
Line 43: Line 52:
  
  
-<note important>Important Pie rendering correctly</note> 
  
-<achart>+<achart url=:playground:2kWy2.csv height=320px align=center>
 { {
-    chart: { +  chart: { 
-        width380+      height350
-        type: 'pie', +      type: 'line', 
-        toolbar: { show: true,tools: { downloadtrue } },+  }, 
 +  yaxis
 +    { 
 +      title: { 
 +        text"Production" 
 +      },
     },     },
-    labels['Team A''Team B', 'Team C', 'Team D', 'Team E'], +    
-    series[44, 55, 13, 43, 22]+      oppositetrue, 
-    responsive[{ +      title: { 
-        breakpoint: 480+        text: "Yield" 
-        options: { +      } 
-            chart: { +    } 
-                width200 +  ], 
-            }, +  stroke: { 
-            legend: { +    width2
-                position: 'bottom+    curve"smooth" 
-            +  }
-        } +  dataLabels: { 
-    }]+      enabled: true 
 +  }, 
 +  xaxis: { 
 +       type'datetime' 
 +  }, 
 +  legend: { 
 +      position: 'top
 +  }, 
 +  title: { 
 +      text: "Production (kWh)", 
 +  }
 } }
 </achart> </achart>
  
-[[hypothetical layout]]+<achart url=:playground:2kWy2.csv height=320px align=center> 
 +
 +  chart: { 
 +      height: 350, 
 +      type: 'bar', 
 +  }, 
 +  dataLabels: { 
 +      enabled: true 
 +  }, 
 +    xaxis: { 
 +       type: 'datetime' 
 +  }, 
 +  legend: { 
 +      position: 'top' 
 +  }, 
 +  title: { 
 +      text: "Production (kWh), Yield", 
 +  } 
 +
 +</achart>
  
-[[Decentralized Renewable Energy]]+===== Placeholder text =====
  
-[[Leverage]]+[[:playground:hypothetical_layout|hypothetical layout]]
  
-[[Standards]]+[[:playground:decentralized_renewable_energy|Decentralized Renewable Energy]] 
 + 
 +[[:playground:leverage|Leverage]] 
 + 
 +[[:playground:standards|Standards]]
  
 {{pdfjs 100%,800px>:playground:techSAWG.pdf}} {{pdfjs 100%,800px>:playground:techSAWG.pdf}}
 +