public static bool?GetCanHover(this Enum value)
        {
            FieldInfo field;

            if (GetFieldInfo(value, out field))
            {
                return(null);
            }

            PlotTypeAttribute attr = Attribute.GetCustomAttribute(field, typeof(PlotTypeAttribute)) as PlotTypeAttribute;

            return(attr?.CanHover);
        }
        public static string GetTitle(this Enum value)
        {
            FieldInfo field;

            if (GetFieldInfo(value, out field))
            {
                return(null);
            }

            PlotTypeAttribute attr = Attribute.GetCustomAttribute(field, typeof(PlotTypeAttribute)) as PlotTypeAttribute;

            return(attr?.Title);
        }
        public static Type GetGeneratorClass(this Enum value)
        {
            FieldInfo field;

            if (GetFieldInfo(value, out field))
            {
                return(null);
            }

            PlotTypeAttribute attr = Attribute.GetCustomAttribute(field, typeof(PlotTypeAttribute)) as PlotTypeAttribute;

            return(attr?.GeneratorClass);
        }