This variation of a donut chart demonstrates how to add labels with lines and also works with missing/new data. Clicking on the button changes the displayed data.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.25.0"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.time.js?1.25.0"></script> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<div id="chart"></div> |
Based on D3.JS and Dimple, ChartFactory provide the ability to build quickly D3.JS charts without coding any lines of javascript. Just define your dashboard in a JSON and voila !
charts: [
{id:'chart1',
width:800,height:250,
xAxis:{type:'Category',field: "Month",orderRule:'Date'},
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global_config] | |
enabled_plugins = CustomCommandsMenu, InactivityWatch, TestPlugin, ActivityWatch, TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, MavenPluginURLHandler, LaunchpadBugURLHandler, LayoutManager | |
title_transmit_bg_color = "#832527" | |
[keybindings] | |
[profiles] | |
[[default]] | |
scrollback_lines = 4000 | |
[layouts] | |
[[default]] | |
[[[child1]]] |
#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {fromEvent} from 'rxjs/observable/fromEvent'; | |
import {animationFrame} from 'rxjs/scheduler/animationFrame'; | |
export class FooComponent implements AfterViewInit { | |
.... | |
ngAfterViewInit() { | |
// Angular scroll performance tuning | |
this.zone.runOutsideAngular(() => { | |
fromEvent(window, 'scroll').subscribe(() => { | |
animationFrame.schedule(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const request = require('request'); | |
const listID = 'PLXqGVIkwHK4IpJPTd7s88fqyjjYB2g8yo' | |
const listUrl = 'https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&key=AIzaSyAvNgxcJ67EZuioDBOuQffHkQa4qBv_eCI&playlistId=' + listID; | |
request.get(listUrl, (e, res, b) => { | |
if (!e && res.tatusCode == 200) { | |
console.log(b); | |
} | |
for(const item of b.items) { | |
const id = item.snippet.resourceId.videoId; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2021-07-20T12:46:17.126Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.env files support | |
.ignore | |
Angular CLI QuickSwitch | |
Angular Component Folding | |
Angular Material 2, Flex layout 1, Teradata Covalent 1 & Material icon live templates | |
Angular Templates | |
Atom Material Icons | |
CamelCase | |
Conventional Commit | |
Embedded Web Browser |
OlderNewer