12345678910111213141516171819202122232425262728 |
- <!--
- *
- * EliasDB - Data mining frontend example
- *
- * Copyright 2020 Matthias Ladkau. All rights reserved.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- Simple line chart using vue-chartjs.
- -->
- <script>
- import { Line, mixins } from "vue-chartjs";
- export default {
- extends: Line,
- mixins: [mixins.reactiveProp],
- props: ["options"],
- mounted() {
- this.renderChart(this.chartData, this.options);
- }
- };
- </script>
- <style>
- </style>
|