class StateChart extends AnimatedComponent {

  public void setRenderMode(@NotNull RenderMode mode) {
    myRenderMode = mode;
  }

  @VisibleForTesting public  StateChart(@NotNull StateChartModel<T> model, @NotNull Map<T, Color> colors);
  public  StateChart(@NotNull StateChartModel<T> model, @NotNull StateChartColorProvider<T> colorMapping);
  public  StateChart(@NotNull StateChartModel<T> model,
                    @NotNull StateChartColorProvider<T> colorMapping,
                    StateChartTextConverter<T> textConverter);
  public  StateChart(@NotNull StateChartModel<T> model,
                    @NotNull StateChartConfig<T> config,
                    @NotNull StateChartColorProvider<T> colorMapping);
  @VisibleForTesting public  StateChart(@NotNull StateChartModel<T> model,
                    @NotNull StateChartConfig<T> config,
                    @NotNull StateChartColorProvider<T> colorMapping,
                    @NotNull StateChartTextConverter<T> textConverter);

}