update docs
This commit is contained in:
parent
87ea03af19
commit
17955256d4
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
and include in your project:
|
and include in your project:
|
||||||
```js
|
```js
|
||||||
import Chart from "frappe-charts"
|
import Chart from "frappe-charts/dist/frappe-charts.min.esm"
|
||||||
```
|
```
|
||||||
|
|
||||||
* ...or include within your HTML
|
* ...or include within your HTML
|
||||||
|
|||||||
8
dist/frappe-charts.min.cjs.js
vendored
8
dist/frappe-charts.min.cjs.js
vendored
@ -3235,14 +3235,6 @@ var Heatmap = function (_BaseChart) {
|
|||||||
return Heatmap;
|
return Heatmap;
|
||||||
}(BaseChart);
|
}(BaseChart);
|
||||||
|
|
||||||
// if ("development" !== 'production') {
|
|
||||||
// // Enable LiveReload
|
|
||||||
// document.write(
|
|
||||||
// '<script src="http://' + (location.host || 'localhost').split(':')[0] +
|
|
||||||
// ':35729/livereload.js?snipver=1"></' + 'script>'
|
|
||||||
// );
|
|
||||||
// }
|
|
||||||
|
|
||||||
var chartTypes = {
|
var chartTypes = {
|
||||||
line: LineChart,
|
line: LineChart,
|
||||||
bar: BarChart,
|
bar: BarChart,
|
||||||
|
|||||||
8
dist/frappe-charts.min.esm.js
vendored
8
dist/frappe-charts.min.esm.js
vendored
@ -3233,14 +3233,6 @@ var Heatmap = function (_BaseChart) {
|
|||||||
return Heatmap;
|
return Heatmap;
|
||||||
}(BaseChart);
|
}(BaseChart);
|
||||||
|
|
||||||
// if ("development" !== 'production') {
|
|
||||||
// // Enable LiveReload
|
|
||||||
// document.write(
|
|
||||||
// '<script src="http://' + (location.host || 'localhost').split(':')[0] +
|
|
||||||
// ':35729/livereload.js?snipver=1"></' + 'script>'
|
|
||||||
// );
|
|
||||||
// }
|
|
||||||
|
|
||||||
var chartTypes = {
|
var chartTypes = {
|
||||||
line: LineChart,
|
line: LineChart,
|
||||||
bar: BarChart,
|
bar: BarChart,
|
||||||
|
|||||||
@ -51,7 +51,7 @@
|
|||||||
<p class="step-explain">Install</p>
|
<p class="step-explain">Install</p>
|
||||||
<pre><code class="hljs console"> npm install frappe-charts</code></pre>
|
<pre><code class="hljs console"> npm install frappe-charts</code></pre>
|
||||||
<p class="step-explain">And include it in your project</p>
|
<p class="step-explain">And include it in your project</p>
|
||||||
<pre><code class="hljs javascript"> import Chart from "frappe-charts"</code></pre>
|
<pre><code class="hljs javascript"> import Chart from "frappe-charts/dist/frappe-charts.min.esm"</code></pre>
|
||||||
<p class="step-explain">... or include it directly in your HTML</p>
|
<p class="step-explain">... or include it directly in your HTML</p>
|
||||||
<pre><code class="hljs html"> <script src="https://unpkg.com/frappe-charts@0.0.3/dist/frappe-charts.min.iife.js" /></code></pre>
|
<pre><code class="hljs html"> <script src="https://unpkg.com/frappe-charts@0.0.3/dist/frappe-charts.min.iife.js" /></code></pre>
|
||||||
<p class="step-explain">Make a new Chart</p>
|
<p class="step-explain">Make a new Chart</p>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user