Further adaptions to make sticks-label behavior as expected

This commit is contained in:
bernd_uni 2020-09-30 15:24:15 +02:00
parent c72a4e42c3
commit 3c401013f1

View File

@ -280,11 +280,15 @@ end
end end
fillrange := nothing fillrange := nothing
seriestype := :path seriestype := :path
if plotattributes[:marker_z] !== nothing && plotattributes[:line_z] == nothing
line_z := plotattributes[:marker_z]
end
# create a secondary series for the markers # create a primary series for the markers
if plotattributes[:markershape] != :none if plotattributes[:markershape] != :none
tmplabel = deepcopy(plotattributes[:label]) tmplabel = deepcopy(plotattributes[:label])
label := "" label := ""
primary := false
@series begin @series begin
seriestype := :scatter seriestype := :scatter
x := x x := x