Skip to content

Instantly share code, notes, and snippets.

View dharanidharandharmasivam's full-sized avatar

DharanidharanD dharanidharandharmasivam

View GitHub Profile
@dharanidharandharmasivam
dharanidharandharmasivam / app.html
Created January 16, 2019 07:30
Aurelia Demo - Chart 16.4.0.42
<template>
<div class="content-container-fluid">
<ej-chart id="container" e-legend.bind="legend" e-size.bind="size" e-title.bind="title" e-common-series-options.bind="commonSeriesOptions">
<ej-series e-data-source.bind="ExpendituresList" e-x-name="xName" e-y-name="yName">
</ej-series>
</ej-chart>
</div>
<button click.delegate='update()'>Update</button>
</template>
@dharanidharandharmasivam
dharanidharandharmasivam / app.html
Created January 16, 2019 07:30 — forked from gregoryagu/app.html
Aurelia Demo - Chart 16.4.0.42
<template>
<div class="content-container-fluid">
<ej-chart id="container" e-legend.bind="legend" e-size.bind="size" e-title.bind="title" e-common-series-options.bind="commonSeriesOptions">
<ej-series e-data-source.bind="ExpendituresList" e-x-name="xName" e-y-name="yName">
</ej-series>
</ej-chart>
</div>
<button click.delegate='update()'>Update</button>
</template>
<template>
<div>
<ej-chart id="chart-container" e-on-pre-render.trigger="chartPreRender($event)" e-primary-y-axis.bind="primaryYAxis" e-primary-x-axis.bind="primaryXAxis" e-legend.bind="legend">
<template repeat.for="level of EfficiencyList">
<ej-series e-data-source.bind="level.level" e-x-name="Year" e-y-name="yName" e-type="line" e-marker.bind="marker">
</ej-series>
</template>
</ej-chart>
</div>
<button id='button' click.trigger = "myFunction()">Click to update</button>