Sha256: 9f8c3a0a255cb7584eb14153cfc37748d97d3da87e6d429474f0f71446eacce7

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

<script setup>

import { lesliChartLine } from "lesli-vue/components"

</script>
<template>
    <lesli-application-container>
        <lesli-header title="Dashboard"></lesli-header>
        <div class="columns">
            <div class="column">
                <lesli-application-component>
                    <lesli-chart-line 
                        title="My daily activity graph"
                        :series="[{ data:[4, 1, 4, 2, 5] }]"
                        :labels="['Monday','Tuesday','Wednesday', 'Thursday', 'Friday']">
                    </lesli-chart-line>
                </lesli-application-component>
            </div>
            <div class="column">
                <lesli-application-component>
                    <lesli-chart-line 
                        title="My daily activity graph"
                        :series="[{ name: 'Last week', data:[4, 1, 4, 2, 5] }, { name: 'Current week', data:[3, 2, 5, 4, 2] }]"
                        :labels="['Monday','Tuesday','Wednesday', 'Thursday', 'Friday']">
                    </lesli-chart-line>
                </lesli-application-component>
            </div>
        </div>
    </lesli-application-container>
</template>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lesli_admin-0.3.0 lib/vue/apps/dashboard/show.vue