Opened 8 years ago
Closed 7 years ago
#15489 closed defect (fixed)
Scatter chart does not render on Legend correctly
Reported by: | Jared Jurkiewicz | Owned by: | cjolif |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8 |
Component: | Charting | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The scatter plot for dojox.charting does not propagate through the marker style so that the legend can render the scatter plot symbol as the icon in the legend.
I'll be attaching a patch that should resolve this.
Attachments (1)
Change History (7)
Changed 8 years ago by
Attachment: | 15489.patch added |
---|
comment:1 Changed 7 years ago by
I fixed also in #15421
I didn't modify Legend. I think only Scatter need to be fixed:
if(frontMarkers.length){ - run.dyn.stroke = frontMarkers[frontMarkers.length - 1].getStroke(); - run.dyn.fill = frontMarkers[frontMarkers.length - 1].getFill(); + run.dyn.marker = theme.symbol; + run.dyn.markerFill = frontMarkers[frontMarkers.length - 1].getFill(); + run.dyn.markerStroke = frontMarkers[frontMarkers.length - 1].getStroke(); }
comment:2 Changed 7 years ago by
Status: | new → open |
---|
comment:3 Changed 7 years ago by
Milestone: | tbd → 1.8 |
---|---|
Owner: | changed from Eugene Lazutkin to cjolif |
Status: | open → assigned |
comment:5 Changed 7 years ago by
I've taken yet another (very similar) approach. Let me know if that does not work for you.
comment:6 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Quick patch that should resolve it.