APISonar


com.twosigma.beakerx.chart.serializer.HistogramSerializer.LOG

> com > twosigma > beakerx > chart > serializer > HistogramSerializer > LOG
com APIs twosigma APIs beakerx APIs chart APIs serializer APIs HistogramSerializer APIs LOG APIs

Example 1
public static Map<Object, Object> serializeHistogramLog(Boolean logY) {
    Map<Object, Object> value = new LinkedHashMap<>();
    value.put(HistogramSerializer.LOG, logY);
    return value;
  }
Example 2
public void shouldSendCommMsgWhenLogYChange() {
    //given
    AbstractChart chart = createWidget();
    //when
    chart.setLogY(true);
    //then
    assertThat(chart.getLogY()).isEqualTo(true);
    LinkedHashMap model = getModelUpdate();
    assertThat(model.size()).isEqualTo(1);
    assertThat(model.get(HistogramSerializer.LOG)).isEqualTo(true);
  }