- AmCharts , ...
,
var durationGraph1 = new AmCharts.AmGraph();
durationGraph1.id = "g1";
durationGraph1.title = "g1";
durationGraph1.valueField = "value1";
chart.addGraph(durationGraph1);
var durationGraph2 = new AmCharts.AmGraph();
durationGraph2.id = "g2";
durationGraph2.title = "g2";
durationGraph2.valueField = "value2";
chart.addGraph(durationGraph2);
:
chartData.push( {
date: d3,
date2: strdate ,
value1: distance,
value2: distance2
} );
,
, :
.amcharts-graph-g2 {
stroke-linejoin: round;
stroke-linecap: round;
stroke-dasharray: 500%;
stroke-dasharray: 0 \0/;
stroke-dashoffset: 0 \0/;
-webkit-animation: am-draw 40s;
animation: am-draw 40s;
}
.amcharts-graph-g22 {
stroke-linejoin: round;
stroke-linecap: round;
stroke-dasharray: 500%;
stroke-dasharray: 0 \0/;
stroke-dashoffset: 0 \0/;
-webkit-animation: am-draw 40s;
animation: am-draw 40s;
}