Skip to content

Instantly share code, notes, and snippets.

View alyssamichelle's full-sized avatar
🖤
It's going to be OK

Alyssa Michelle Nicoll alyssamichelle

🖤
It's going to be OK
View GitHub Profile
@alyssamichelle
alyssamichelle / navigation.component.html
Created May 27, 2020 18:41
The navigation component used inside of the Kendo UI for Angular Financial Portfolio Demo application — found here:https://github.com/telerik/kendo-angular/tree/master/examples-standalone/finance-portfolio
<kendo-buttongroup [selection]="'single'">
<button kendoButton routerLink="/stocks" routerLinkActive="k-state-active">
Result List
</button>
<button kendoButton routerLink="/heatmap" routerLinkActive="k-state-active">
Heatmap View
</button>
<button kendoButton routerLink="/real-time" routerLinkActive="k-state-active">
Data Virtualization
</button>
<kendo-dropdownlist
class="dropdown-list-selection interval"
[style.width.px]="135"
[style.marginRight.px]="8"
[data]="intervals"
[iconClass]="'k-i-arrow-chevron-down'"
[textField]="'name'"
[valueField]="'interval'"
[(value)]="selectedInterval"
[itemDisabled]="disableIncompatibleIntervals">
<kendo-daterange>
<kendo-dateinput
kendoDateRangeStartInput
[autoCorrectOn]="'change'"
[min]="calendarMin"
[max]="calendarMax"
[(ngModel)]="range.start"
(valueChange)="handleRangeChange($event, range.end)">
</kendo-dateinput>
<kendo-dateinput
<kendo-stockchart
class="stock-chart"
[transitions]="true"
[renderAs]="'svg'"
(navigatorFilter)="configureVolumeValueAxisHeight()"
>
<kendo-chart-category-axis>
<kendo-chart-category-axis-item
[crosshair]="{ visible: true }"
[maxDivisions]="20"
@alyssamichelle
alyssamichelle / stock-chart.component.html
Last active May 7, 2020 20:35
File from the Kendo UI Financial Portfolio Demo App: examples-standalone/finance-portfolio/src/app/components/stock-chart/stock-chart.component.html
<div class="container">
<div class="row py-4 d-flex justify-content-between align-items-center">
<div class="col col-4 d-flex daterange-input-wrap">
<kendo-daterange>
<kendo-dateinput
kendoDateRangeStartInput
[autoCorrectOn]="'change'"
[min]="calendarMin"
[max]="calendarMax"
[(ngModel)]="range.start"
<kendo-grid-column field="day_change" title="Change" media="(min-width: 768px)">
<ng-template kendoGridCellTemplate let-dataItem>
<span [ngClass]="{ 'grid-cell-positive' : dataItem.day_change > 0, 'grid-cell-negative' : dataItem.day_change < 0 }">
{{ dataItem.day_change > 0 ? ('+' + dataItem.day_change) : dataItem.day_change }}
</span>
</ng-template>
</kendo-grid-column>
<kendo-grid-column field="change_pct" title="%Change" media="(min-width: 768px)">
<ng-template kendoGridCellTemplate let-dataItem>
MouseEvent {
isTrusted: true,
screenX: 431,
screenY: 443,
clientX: 431,
clientY: 309,
ctrlKey: false,
shiftKey: false,
altKey: false,
metaKey: false,
@alyssamichelle
alyssamichelle / mallet.svg
Created April 9, 2020 19:25
Mallet for an SVG Gong
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.