Opened 7 years ago

Closed 4 years ago

#16801 closed enhancement (patchwelcome)

Can not interact with markers on multi-area plots

Reported by: Veneti Owned by: cjolif
Priority: undecided Milestone: 1.13
Component: Charting Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

Summary: On multiplot charts when chart type is Areas and plot line for first plot crosses plot line of second plot some of the plot markers are not receiving events. Observable with renderer is SVG, not tested with other renderers. The issue is that area of second plot is covering markers of first plot thus markers do not receive events, the overlaying area is.

Expected: All markers receive events (thus can be magnified, display tooltips etc.) regardless of if/how plots cross. Example: http://www.highcharts.com/demo/area-basic

Chart renderer: SVG

Browser: Chrome 24

OS: Ubuntu 12.10 64bit

Code:

    var theme = new dojox.charting.SimpleTheme({
	plotarea: {
    	fill: "rgb(0,0,0,0)"
    },
    marker: {
        stroke:  {width: 2, color: "#fff"},
        outline: {width: 2, color: "#fff"},
        font: "normal normal normal 8pt Verdana, Arial, sans-serif",
        fontColor: "#999999"
    },
    markerThemes: [
        {fill: "#fff", stroke: {color: "#3399cc"}},
        {fill: "#fff", stroke: {color: "#009900"}}
    ],
    axis: {
        tick: {
            color: "#fff",
            font: "normal 14px Arial",
            fontColor: "#999999"
        },
        majorTick : {
            color: "#c9c9c9",
            style: "LongDash"
        }
    }
});


var xData1 = [10, 15, 5, 10];
var xData2 = [10, 5, 15, 10];
var xLabels = [ "a" , "b", "c", "d"];
var chart = new dojox.charting.Chart("openbugsday", {
    fill: "rgb(0,0,0,0)"
}).setTheme(theme)
  .addPlot("sales", {
    type: "Areas",
    markers: true,
    tooltips: true
}).addPlot("visits", {
    type: "Areas",
    markers: true,
    tooltips: true,
    vAxis: "Y"
}).addPlot("grid", {
    type: "Grid"
}).addAxis("x", {
    labels: xLabels,
    fixLower: "major",
    fixUpper: "major",
    includeZero: false,
    natural: false,
    fixed: true
}).addAxis("y", {
    vertical: true,
    fixLower: "major",
    fixUpper: "major",
    includeZero: tr

Attachments (1)

16801.jpg (74.6 KB) - added by Veneti 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Veneti

Attachment: 16801.jpg added

comment:1 Changed 7 years ago by bill

Component: GeneralCharting
Owner: set to Eugene Lazutkin

comment:2 Changed 7 years ago by cjolif

Owner: changed from Eugene Lazutkin to cjolif
Status: newassigned
Type: defectenhancement

This is unfortunately by design. Changing this is a valid request however I'm just changing it to enhancement request.

comment:3 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: assignedclosed

Given that no one has shown interest in creating a patch in the past 2+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.