use rcharts viewer instead of pagist.