Login Register

labels

Dijit Slider Labels not working in IE if in a div with any sort of background

Release: Dojo 1.1.1
Browser: IE 6 & IE 7
Scenario: Using a HorizontalSlider dijit in a div that has a background color set to #FFFFFF.
Problem: Labels do NOT show.

Confirmed that labels DO show so long as the widget is in a place that does not have a css background defined. Once the widget is within a div that has a background color or image, the labels vanish.

I've not confirmed whether this happens only in divs but I assume so.

Works perfectly either way in Firefox (2.0) and Safari. Just not in IE 6 or IE 7.

slider ticks and labels not visible in ie when background is set in parent container

I've seen some references to this behavior, but haven't seen much that addresses it directly, so thought I'd post my observations for consideration. Of course if anyone has a fix please let me know.

Labels on points, Axis Title

Hello,

I would like to ask further,

1. Is it possible to add labels in my chart points?
2. X/Y Axis Title, is it possible. Dojo 0.4 can do it, but seems no longer working for 1.0
3. Chart Title.

Thank you for the responses in my previous posts.

[solved] Programmatically adding rules and labels to a slider

Hi everybody!

I've already searched the forum and tests but couldn't find the answer... how do I prgrammatically add rules and labels to a slider?

Here is the code fragment I've got so far:

Untitled Document

[solved] How create slider rules and labels (1.0) programatically?

How create slider rules and labels programatically? No have examples in the documentation.

I tried this, but slider rules not work:

############################################

function openSlider(){

//Vertical Slider
var node = dojo.body().appendChild(document.createElement("div"));
node.id = 's1';
test = new dijit.form.VerticalSlider({
value:30000,
minimum:1000,
maximum:30000,
discreteValues:10,
intermediateChanges:"true",
//showTooltip: "true", //=> This works for slider 1.0?

Syndicate content