builder.registerTypeHierarchyAdapter(ChartEnum.class,
new ChartEnumSerializer());
builder.registerTypeHierarchyAdapter(SolidColor.class,
new SolidColorSerializer());
builder.registerTypeHierarchyAdapter(AxisList.class,
new AxisListSerializer());
builder.registerTypeHierarchyAdapter(PaneList.class,
new PaneListSerializer());
builder.registerTypeAdapter(ContainerDataSeries.class,
new ContainerDataSeriesSerializer());
builder.registerTypeAdapterFactory(new DataSeriesItemTypeAdapterFactory());