For some reason, I have the theme set for my chart, yet the tooltip does not
hover, I only see the value in the bottom left corner of the screen.

Here is how I set it:

var chartTheme = dojox.charting.themes.Harmony;
chartTheme.axis.majorTick.color = "#D8DBDE";
chartTheme.axis.minorTick.color = "#D8DBDE";

chart1.setTheme(chartTheme);
chart1.addPlot("default", {type: chartType, hMajorLines: true,
vMajorLines: true, animate:{duration: 1000}, gap:8});
chart1.addPlot("grid", {type: "Grid", hAxis: "x", vAxis: "y",
hMajorLines: true, hMinorLines: false, vMajorLines: true, vMinorLines:
false});
chart1.addAxis("x", { labels: getlabels() , minorLabels: false,
minorTicks: false });
chart1.addAxis("y", {vertical: true,majorTickStep: majorTickStep,
minorLabels: false, minorTicks: false });
//legend = new dojox.charting.widget.Legend({chart: chart1}, "legend");
new dojox.charting.action2d.Tooltip(chart1, "default");


Am I doing something wrong?

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/1-4-tooltip-not-showing-even-though-theme-is-set-tp3656772p3656772.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.

Search Discussions

  • Karl Tiedt at Jan 13, 2012 at 11:05 am
    In all the examples that use it,
    view-source:http://archive.dojotoolkit.org/nightly/checkout/dojox/charting/tests/test_event2d.html
    render is called AFTER adding the tooltips -- only thing I see missing...

    -Karl Tiedt

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdojo-interest @
categoriesdojo
postedJan 13, '12 at 9:22a
activeJan 13, '12 at 11:05a
posts2
users2
websitedojotoolkit.org

2 users in discussion

Karl Tiedt: 1 post Gatsby0121: 1 post

People

Translate

site design / logo © 2022 Grokbase