We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The example "Customizing Individual Bar Colors" in https://plotly.com/python/bar-charts/#customizing-individual-bar-colors requires the assignment of multiple colors in a markers, which is available in the init method, but has no effect:
#r "nuget: Plotly.NET, 2.0.0-preview.6" #r "nuget: Plotly.NET.Interactive, 2.0.0-preview.6" let featureKeys = ["Feature A"; "Feature B"; "Feature C"; "Feature D"; "Feature E"] let featureValues = [20; 14; 23; 25; 22] let colors = [1..5] |> List.mapi (fun i x -> if i = 1 then "crimson" else "lightslategray" ) |> List.toSeq let marker = Marker.init(Colors = colors); // marker?color<-colors Chart.Column (featureKeys, featureValues, Marker=marker)
in the other hand, the dynamic assignment of color works:
The text was updated successfully, but these errors were encountered:
@gaviei can you please add the code directly here instead of a screenshot so i can copy paste it to test? also for the other issues
Sorry, something went wrong.
@kMutagene Issue comment was updated. Please check and let me know.
Successfully merging a pull request may close this issue.
The example "Customizing Individual Bar Colors" in https://plotly.com/python/bar-charts/#customizing-individual-bar-colors requires the assignment of multiple colors in a markers, which is available in the init method, but has no effect:
in the other hand, the dynamic assignment of color works:

The text was updated successfully, but these errors were encountered: