Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy