Fixed warning.
Legend div is only created when feature is enabled.
Added Y axis feature.