Changed labeling-behaviour of :sticks (#3017)
* Changed labeling-behaviour of :sticks * Further adaptions to make sticks-label behavior as expected * Fixed for linecolor-attribute * Deleted some debugging println() * Changed primary-ness in sticks+marker Co-authored-by: bernd_uni <bernd.riederer@student.tugraz.at>
This commit is contained in:
parent
514a7c4fff
commit
f4fe4b8a05
@ -280,9 +280,13 @@ end
|
|||||||
end
|
end
|
||||||
fillrange := nothing
|
fillrange := nothing
|
||||||
seriestype := :path
|
seriestype := :path
|
||||||
|
if plotattributes[:linecolor] == :auto && 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
|
||||||
|
primary := false
|
||||||
@series begin
|
@series begin
|
||||||
seriestype := :scatter
|
seriestype := :scatter
|
||||||
x := x
|
x := x
|
||||||
@ -290,8 +294,7 @@ end
|
|||||||
if z !== nothing
|
if z !== nothing
|
||||||
z := z
|
z := z
|
||||||
end
|
end
|
||||||
label := ""
|
primary := true
|
||||||
primary := false
|
|
||||||
()
|
()
|
||||||
end
|
end
|
||||||
markershape := :none
|
markershape := :none
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user