moving chart editor into its own thing