Display data, fix one bug with curve selection