-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
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
Unable to change the colors for stacked column for Bar graph #291
Comments
Apologies for the long wait, and thank you for your patience. HIColumn column1 = new HIColumn();
column1.setName("John");
Number[] column1Data = new Number[]{5, 3, 4, 7, 2};
column1.setData(new ArrayList<>(Arrays.asList(column1Data)));
column1.setColor(HIColor.initWithHexValue("8B008B"));
HIColumn column2 = new HIColumn();
column2.setName("Jane");
Number[] column2Data = new Number[]{2, 2, 3, 2, 1};
column2.setData(new ArrayList<>(Arrays.asList(column2Data)));
column2.setColor(HIColor.initWithHexValue("5F9EA0")); |
working fine with the above code. thank you so much |
This issue has been moved to #293. Please refer to the new issue for further updates. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my application, I want to display the group data in the bar graph. So I am using the stacked column provided by High chart demo sample. I am able to display the graph successfully by using the below code
Here I want to change the two colors of the graph, for that I am using the below code, but I am unable to change the colors
Here I am able to change the one color for the graph by using the below code
options.setColors(new ArrayList<>(Arrays.asList(column1DataColor1)));
Here I want to change the two colors. how to change the graph for two colors.
Thanks In Advance.
The text was updated successfully, but these errors were encountered: