Custom Query (18300 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 18300)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#4625 wontfix "Patch" to allow setting tooltips on plotted markers + IE fixes Tom Trenka guest
Description

Sorry if this is not a real patch, but I hope it could be useful anyway.

The following are some modifications to Dojo Charting v 0.4.3 to uses the "applyTo" features of Plotters to add tooltips to plotted markers, and two fixes for IE to displaying them correctly.

First a variant of Chart.render() to allow passing "applyTo" parameter:

dojo.charting.Chart.prototype.applyToRender = function (kwArgs, applyTo)
{
	if (this.node.style.position != "absolute") {
		this.node.style.position = "relative";
	}
	for (var i = 0; i < this.plotAreas.length; i++) {
		var area = this.plotAreas[i].plotArea;
		var node = area.initialize();
		node.style.position = "absolute";
		node.style.top = this.plotAreas[i].top + "px";
		node.style.left = this.plotAreas[i].left + "px";
		this.node.appendChild(node);
		// *** Modified line. ***
		//area.render ();
		area.render (kwArgs, applyTo);
	}
}

Then the first fix for IE to be able to "hover" with mouse on plotted markers:

if (dojo.render.vml.capable && ! dojo.render.svg.capable)
{
	dojo.charting.Plotters._group = function (plotarea)
	{
		var group = document.createElement("div");
		// *** Commented out style. ***
		//group.style.position = "absolute";
		//group.style.top = "0px";
		//group.style.left = "0px";
		group.style.width = plotarea.size.width + "px";
		group.style.height = plotarea.size.height + "px";
		return group;
	}
}

All this allow the following (with a second fix for IE):

someChart.applyToRender (
        null,
        function (marker, data) {
                marker.setAttribute (
			"title",
			data.fieldX + ' ' + data.fieldY
		);
                marker.onclick = function () { alert ('click'); }

                // Last fix for IE, otherwise markers are under the line
                if (dojo.render.vml.capable && ! dojo.render.svg.capable)
		{
			marker.style.zIndex = 10;
		}
        }

Regards,

Daniele

#15127 wontfix "Pluggable" Parser bill Kitson Kelly
Description

The "scan" function of the parser should be able to be extensible/pluggable so that its behaviour can be extended without the need for overriding or modification of the dojo/parser code.

To accomplish this the parser could use the dojo/AdapterRegistry to process nodes as the DOM is being walked during a scan. Users could add functionality to the parser like this:

parser.register("parse data-my-attr",
  function(node, parsedNodes, options){
    return node.getAttribute("data-my-attr");
  },
  function(node, parsedNodes, options){
    return {
      ctor: specialCtor,
      instantiate: true,
      stopParser: true
    };
  }, false, true);

This would cause the parser it instantiate an object with the provided constructor and ensure the parser does not walk any of the child nodes for any node that has the "data-my-attr" attribute.

I have a patch for this which I will attach once there is some further discussion on how to best introduce this feature.

#4950 fixed "Restore Tree" button on test_Tree causes an error tk simonjb
Description

On FF2, IE6, and IE7 (didn't try Safari) the "Restore Tree" button on test_Tree causes an error.

To reproduce:

  1. open dijit/tests/test_Tree.html
  2. click on "Restore Tree"
  3. error: dojo.cookie(this._getCookieName()) has no properties (this is the FF message, IE is similar but silghtly different)

Also, on IE6 and IE7 the "Collapse Tree" and "Expand Tree" buttons do not work.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.