chart flag positioning fix