Make plot-chart more portable