Saturday, December 26, 2009

AnyChart: Bubble Tooltip jumps to upper left corner.

AnyChart 5.1.2


Problem:

  Bubble chart tooltip jumps to upper left corner. When clicked on bubble.

On mouse hover

On mouse click






Hack:

  Here we have strange solution for this problem. You need to enable tooltip settings as follows:

      <tooltip_settings enabled="True"/>

  And your tooltip stop jumping around.

  Here is xml.

<anychart>
  <charts>
    <chart>
      <data_plot_settings default_series_type="Bubble">
        <bubble_series>
          <!--<tooltip_settings enabled="True"/>-->
        </bubble_series>
      </data_plot_settings>
      <data>
        <series name="S1" type="Bubble">
          <point name="A" y="10" x="10" size="10">
            <tooltip enabled="true">
              <format>
                Tooltip
              </format>
            </tooltip>
          </point>
        </series>
      </data>
    </chart>
  </charts>
</anychart>

  Just uncomment tooltip_settings to fix this bug.

1 comment: