|
|
@@ -16,8 +16,8 @@ |
|
|
|
<script src="assets/js/highlight.pack.js"></script> |
|
|
|
<script>hljs.initHighlightingOnLoad();</script> |
|
|
|
|
|
|
|
<!--<link rel="shortcut icon" href="https://frappe.github.io/frappe/assets/img/favicon.png" type="image/x-icon"> |
|
|
|
<link rel="icon" href="https://frappe.github.io/frappe/assets/img/favicon.png" type="image/x-icon">--> |
|
|
|
<link rel="shortcut icon" href="https://frappe.github.io/frappe/assets/img/favicon.png" type="image/x-icon"> |
|
|
|
<link rel="icon" href="https://frappe.github.io/frappe/assets/img/favicon.png" type="image/x-icon"> |
|
|
|
</head> |
|
|
|
|
|
|
|
<body> |
|
|
@@ -144,7 +144,7 @@ |
|
|
|
<button type="button" class="btn btn-sm btn-secondary" data-type="region">Region</button> |
|
|
|
</div> |
|
|
|
<pre><code class="hljs javascript margin-vertical-px"> ... |
|
|
|
type: 'line', // Line chart specific properties: |
|
|
|
type: 'line', // Line Chart specific properties: |
|
|
|
|
|
|
|
show_dots: 0, // Show data points on the line; default 1 |
|
|
|
heatline: 1, // Show a value-wise line gradient; default 0 |
|
|
@@ -206,7 +206,7 @@ |
|
|
|
<div id="chart-heatmap" class="border" |
|
|
|
style="overflow: scroll; text-align: center; padding: 20px;"></div> |
|
|
|
<div class="mt-1 mx-auto" role="group"> |
|
|
|
<button type="button" class="btn btn-sm btn-secondary active" data-heatmap="discrete">Dicrete</button> |
|
|
|
<button type="button" class="btn btn-sm btn-secondary active" data-heatmap="discrete">Discrete</button> |
|
|
|
<button type="button" class="btn btn-sm btn-secondary" data-heatmap="continuous">Continuous</button> |
|
|
|
</div> |
|
|
|
<pre><code class="hljs javascript margin-vertical-px"> let heatmap = new Chart({ |
|
|
@@ -249,7 +249,8 @@ |
|
|
|
</svg> |
|
|
|
</a> |
|
|
|
|
|
|
|
<script src="../dist/frappe-charts.min.js"></script> |
|
|
|
<!--<script src="../dist/frappe-charts.min.js"></script>--> |
|
|
|
<script src="assets/js/frappe-charts.min.js"></script> |
|
|
|
<script src="assets/js/index.js"></script> |
|
|
|
</body> |
|
|
|
</html> |