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
|
||||
fillrange := nothing
|
||||
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
|
||||
primary := false
|
||||
@series begin
|
||||
seriestype := :scatter
|
||||
x := x
|
||||
@ -290,8 +294,7 @@ end
|
||||
if z !== nothing
|
||||
z := z
|
||||
end
|
||||
label := ""
|
||||
primary := false
|
||||
primary := true
|
||||
()
|
||||
end
|
||||
markershape := :none
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user