These are chat archives for filearts/plunker

1st
Jul 2016
welshjs
@welshjs
Jul 01 2016 03:13

I'm working on a chart in d3.js I've added some code for a tooltip and I don't know how to call the actual data into the tip. I can get the name of the column from the csv but not the actual data of the csv.
The function for the tooltip is
d3.tip.v0.6.3.js

var tip = d3.tip()
.attr('class', 'd3-tip')
.offset([-10, 0])
//This is the internal html for the tooltip
.html(function(d) {
return(d.name + " " + d.state);
});

The data looks like this...
Category,Statistics,Psychology,Programming,Mental health,Aboriginal education
Other,1,3,1,4,2
Lifelong learner,20,39,36,44,48
Professional,40,18,29,20,20
Academic,5,3,10,3,14
Research ,15,4,2,13,3
Student,19,33,22,16,13

ThuyLieu
@Tieuuphuthuy
Jul 01 2016 07:11
hi
ThuyLieu
@Tieuuphuthuy
Jul 01 2016 08:55
example angularjs help me very much. thanks
Steve Williams
@MysticSmeg70_twitter
Jul 01 2016 11:41
Hi people. Quick question for you all. I'm following a Pluralsight trainging course in AngularJS by Scott Allen at the moment, and he's using Plunker to demonstrate AngularJS. I'm just one minute into the course when he adds the following to his code (without quotes) "{{ 843 / 42 }}" and up pops the calculated answer on the preview. My own preview is just displaying "{{ 843 / 42 }}"! Both the example and my own code are identical aside from the version of AngularJS I believe. - Any ideas??
Complete code is:

<!DOCTYPE html>

<html>

<head>
<script src="https://code.angularjs.org/2.0.0-beta.6/angular2.min.js" data-require="angular.js@*" data-semver="2.0.0"></script>
<link href="style.css" rel="stylesheet" />
<script src="script.js"></script>
</head>

<body ng-app>
<h1>Hello Plunker!</h1>

{{ 843 / 42 }}

</body>

</html>

Many thanks in advance. :)
John Crocker
@johncrocker
Jul 01 2016 12:23
@MysticSmeg70_twitter try Angular 1.5.6 it works using that version. Im learning angular too - I can only guess the syntax is different with 2.0x
Steve Williams
@MysticSmeg70_twitter
Jul 01 2016 12:59
@johncrocker: Nice one, thanks buddy. :)
tsaltd
@tsaltd
Jul 01 2016 17:12
any examples of component approach for date validation ???
sankarganeshchandran
@sankarganeshchandran
Jul 01 2016 17:55
Hello Everyone
I am having issue with Accordion
Can anyone help me to resolve the issue