series.negativeValues Object

The options for displaying the chart negative bubble values.

Example - set the chart negative bubbles

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [ {
    type: "bubble",
    negativeValues: {
      color: "green",
      visible: true
    },
    data: [
      [-1, 2, -3],
      [2, 3, 4]
    ]
  }]
});
</script>

series.negativeValues.color String (default: "#ffffff")

The color of the chart negative bubble values.

Example - set the chart negative bubbles color

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [ {
    type: "bubble",
    negativeValues: {
      color: "green",
      visible: true
    },
    data: [
      [-1, 2, -3],
      [2, 3, 4]
    ]
  }]
});
</script>

series.negativeValues.visible Boolean (default: false)

If set to true the chart will display the negative bubbles. By default the negative bubbles are not displayed.

Example - show the chart negative bubbles

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [ {
    type: "bubble",
    negativeValues: {
      visible: true
    },
    data: [
      [-1, 2, -3],
      [2, 3, 4]
    ]
  }]
});
</script>
In this article