Is it possible to get alternating row/column colors in the grid?
see image of flash chart
Also, the grid lines in the old chart were exactly on the values, now the values lie exactly between the lines. Can this be changed?
flash chart
html5 chart
Thanks ahead.
Just to answer the question.
Alternating colors can be done by adding a palette to the chart grid for example:
chart.yMinorGrid().palette(["#FFF 0.25", "#000 0.25"]);
Or look at the example in the anychart playground:
https://playground.anychart.com/cO6ebTmF/0
The anychart flash setting tickmarks_placement="Center" is not supportet anymore as it does not meet the requirements of categorized charts.
Related
I'm trying to figure out how to change the color of individual y-axis labels programmatically for a bar chart. Here's what the chart currently looks like:
Here's how I'd like it to look. (The colors on the "RX 5700 XT" lines are in red -- this is via a hasty PhotoShop hack, so this isn't set in stone, just an example of where I'm headed).
The problem is, I can't seem to find a way to programmatically get at the individual text labels. The actual text isn't necessarily hard-coded, but based on matching some pattern I want to change the text colors -- a secondary coding of data, if you will.
Background: This is for my charts at Tom's Hardware, for GPU reviews specifically. In this case, I have all GPUs tested with one CPU colored one way (lighter grey and red), and all GPUs tested with a different CPU colored a different way (darker grey and red). However, I also want to potentially differentiate between AMD and Nvidia GPUs -- so highlight the AMD GPUs in Dark Red text as an example.
There are about 60 charts total, so manually changing colors on each chart after generation would be extremely inefficient. I could just use different bar chart colors, but that also gets messy. Theoretically, I want to get at myChart.Axes(xlCategory).Format.TextFrame2.TextRange ... but TextFrame2 is a read-only property. I recorded a macro where I changed the axis font color, but even that macro fails to play back properly. :\
The axis labels on a chart cannot be colored individually. The axis font color applies to all text in the axis. Individual axis labels cannot be formatted differently. Not in the GUI and not with VBA.
Side note: You may want to review your color choices for the charts. The black/red/white in such close proximity is very hard on the eyes and causes eye strain and flimmer for some people.
I just wanted to know if it is possible to link different figures x-axes (as it can be done using subplots with shared_xaxes) in order to see the same range once zoom in or zoom out are performed. I highlight 'different figures'.
Thank you.
I'm trying to create a combined scatter plot and "bar chart" - the bars extend the full height of the chart, but their width varies (I have a table with the start and finish points on the x-axis).
Here is a mock-up:
http://imgur.com/EHzv5YB
Do you think this is possible in Excel? I have found some links on how to overlay multiple plot types, but none involving variable width shaded areas as seen in the example.
Would really appreciate any help. Thanks!
I've written a tutorial showing how to Highlight Certain Time Periods in a Chart.
Hello, I was wondering if it is possible to color code groups of the pie chart together, but not manually do it slice by slice. For example, Apartments would be grouped together as light blue, and then Self Storage as dark blue. The pieces would retain their original percentage still though. This would make it easier to identify groups of data more easily. Any input?
Thanks in advance for the help.
Any input? Well, first, don't use pie charts for charts with more than two or three data points. They are hard to interpret. Use horizontal bar charts instead.
The data seems to be sorted by value. If you want to group by category, you will need to sort by category, too.
Excel will automatically apply a different color to each pie chart wedge. You can manually change these colors. You can use VBA to automate that.
A horizontal bar chart will give you a lot more tools to visualize the data and turn it into information.
Do you know if this chart, as shown in the following image, can be done in Excel?
Chart:
I don't even know how this kind of chart is named, so I cannot search in the web for tutorials. I don't need to display three points on every row as in this chart (one is enough), and even I can mark the control group manually.
Yes this can be done in Excel.
If you want vertical orientation like on the picture above, then you should probably use the Scatter chart with quite some modifications. You would set the x values of the series to your values and the y values can be just 1,2,3,4,5.... The biggest problem with this approach would be how to display the correct categories. There is a tool to help you do that and it is discussed here: https://superuser.com/questions/485883/how-to-create-dynamic-scatter-plot-matrix-with-labels-and-categories-on-both-axi
For horizontal one you can use a normal line chart - with hidden line and only markers visible (Excel doesn't support vertical line graphs).
Even three groups are easy to do, you just need to add three series and format them accordingly.
The lines are also quite easy to do, you add minor / major gridlines to the chart and then format those as well.