Changes between Initial Version and Version 1 of Ticket #14259


Ignore:
Timestamp:
Nov 14, 2011, 2:57:20 PM (8 years ago)
Author:
Adam Peller
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14259

    • Property Owner changed from Adam Peller to Eugene Lazutkin
    • Property Component changed from Dojox to Charting
  • Ticket #14259 – Description

    initial v1  
    1 Charting with Dojo:  When using a "MarkersOnly" chart with "dojox.charting.widget.Legend", the marker graphic doesn't show up in the Legend.  If you change the plot type to "Markers", the legend shows a line and marker graphic, and if you change the plot type to "Lines", the legend shows a line graphic, but if you change the plot type to "MarkersOnly", the legend does not show any graphic.  How can I get the legend to show the Marker graphic for plot type "MarkersOnly"  ?
     1Charting with Dojo:  When using a "!MarkersOnly" chart with "dojox.charting.widget.Legend", the marker graphic doesn't show up in the Legend.  If you change the plot type to "Markers", the legend shows a line and marker graphic, and if you change the plot type to "Lines", the legend shows a line graphic, but if you change the plot type to "!MarkersOnly", the legend does not show any graphic.  How can I get the legend to show the Marker graphic for plot type "!MarkersOnly"  ?
    22
    33Below is a very basic example:
    44
    5 
     5{{{#!js
    66var chart1 = new dojox.charting.Chart2D("simplechart");
    77chart1.addPlot("default", {type: "MarkersOnly"});
     
    1212chart1.render();
    1313var legend1 = new dojox.charting.widget.Legend({chart: chart1, horizontal: false}, "simplelegend");
    14 
    15 
     14}}}
     15{{{#!xml
    1616<div id="simplechart" style="width: 250px; height: 150px;"></div>
    1717<div id="simplelegend"></div>
     18}}}
    1819
    19 
    20 PS:  For some reason Question Marks are being inserted after MarkersOnly before the end quotation marks.  They are getting inserted after I hit Preview or CreateTicket, they aren't in my source code and aren't being typed by me, just ignore them.
     20PS:  For some reason Question Marks are being inserted after !MarkersOnly before the end quotation marks.  They are getting inserted after I hit Preview or !CreateTicket, they aren't in my source code and aren't being typed by me, just ignore them.