Opened 11 years ago

Closed 11 years ago

#14350 closed defect (invalid)

Checkbox doesn't show up with Selectable Legend?

Reported by: lampshade9909 Owned by: Eugene Lazutkin
Priority: high Milestone: 1.6.2
Component: Charting Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:


Referencing Chart 1.)Bars from

When I recreate this (copy and paste the chart's specific code) the check boxes don't show up in the Legend. The place where the checkbox should be is clickable, and the series does show/hide correctly, but the checkbox seems to be hidden.

Also, is there an option to set the checkbox to hide by default rather than show by default?

		<script src="" 
				type="text/javascript" data-dojo-config="isDebug: true,parseOnLoad: true">
        <style type="text/css">
            @import "/media/js/dojo/dojo/resources/dojo.css";
            @import "/media/js/dojo/dijit/themes/claro/claro.css";
			@import "/media/js/dojo/dojox/charting/resources/Legend.css";

			// When the DOM is ready and resources are loaded...
			dojo.ready(function() {
				var bars = new dojox.charting.Chart("bars").
					addPlot("default",{type: "Bars",gap:2}).
					addAxis("x",{natural: true, includeZero: true}).
					addAxis("y",{natural: true, vertical:true}).
				var barsLegend = new dojox.charting.widget.SelectableLegend({chart: bars},"barsLegend");
		<div id="bars" class="bars"></div>
		<div id="barsLegend"></div>

Thanks, Joey

Attachments (1)

bugphoto.jpg (43.3 KB) - added by lampshade9909 11 years ago.
Image of the Checkbox not showing up

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by lampshade9909

Attachment: bugphoto.jpg added

Image of the Checkbox not showing up

comment:1 Changed 11 years ago by lampshade9909

PS: I tried adding dojo.require("dijit.form.CheckBox?"); but that didn't do it

comment:2 Changed 11 years ago by lampshade9909

PPS: I'm also including the dijit/themes/claro/claro.css theme. Is this a theme issue?

comment:3 Changed 11 years ago by lampshade9909

SOLVED Sorry, mistake on my part. I didn't have class="claro" in the body...

comment:4 Changed 11 years ago by bill

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.