华人医生数据库
Chinese Speaking Doctors in US and Canada
{"country":"北京大学医学部","visits":1131},
{"country":"复旦大学医学院","visits":674},
{"country":"中山医科大学","visits":512},
{"country":"上海交大医学院","visits":469},
{"country":"四川大学华西医学院","visits":431},
{"country":"华中科技大学同济医学院","visits":338},
{"country":"中国医科大学","visits":331},
{"country":"中南大学湘雅医学院","visits":312},
{"country":"山东大学齐鲁医学院","visits":293},
{"country":"北京协和医学院","visits":245},
];
AmCharts.ready(function () {
// SERIAL CHART
chart = new AmCharts.AmSerialChart();
chart.dataProvider = chartData;
chart.categoryField = "country";
// the following two lines makes chart 3D
chart.depth3D = 20;
chart.angle = 30;
// AXES
// category
var categoryAxis = chart.categoryAxis;
categoryAxis.labelRotation = 90;
categoryAxis.dashLength = 5;
categoryAxis.gridPosition = "start";
// value
var valueAxis = new AmCharts.ValueAxis();
valueAxis.title = "CMG Physicians";
valueAxis.dashLength = 5;
chart.addValueAxis(valueAxis);
// GRAPH
var graph = new AmCharts.AmGraph();
graph.valueField = "visits";
graph.colorField = "color";
graph.balloonText = "
[[category]]: [[value]]";
graph.type = "column";
graph.lineAlpha = 0;
graph.fillAlphas = 1;
chart.addGraph(graph);
// CURSOR
var chartCursor = new AmCharts.ChartCursor();
chartCursor.cursorAlpha = 0;
chartCursor.zoomable = false;
chartCursor.categoryBalloonEnabled = false;
chart.addChartCursor(chartCursor);
chart.creditsPosition = "top-right";
// WRITE
chart.write("chartdiv");
});
返回主页

© 2026 Copyright.
Email: cdoc101.com@gmail.com
Wechat: royzhang42