Change label text color in row chart - svg

I am using dc.js row chart. Something exactly like the day of the week chart in the example of this page
Can someone please suggest how can I change the label colors from white to black.

I your CSS, use .dc-chart g.row text {fill: black;}.

Furthermore, for those who try with pie charts, the selector for labels is without the g.row. i.e. : .dc-chart text.pie-slice {fill: black;}

Related

Anychart Grid Alternating Colors

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.

Add extra labels to a chart

I'm using Excel 2016 and wanted to know how I can make a chart that represents a spectrum from left to right with labels on both sides, and a marker in the middle. Essentially I want to represent the Myers Briggs Type Indicator.
What I've tried so far is to make a horizontal bar chart with a marker, but I can't seem to get labels to the left and right. How might I be able to achieve this?
You just need to add text boxes from drawing tools and put them on top of the chart. Set their backgrounds to transparent by choosing no fill.

I am trying to put some border to my cross text in excel

I am trying to give some border to my cross text which around 45 degree in excel but issue is that whenever i apply border to cross text the border also get apply at 45 degree.
I am looking for a straight rectangle border which contains cross text in it in excel.
Please help me to do that
I dont think you can find a way around that, but you could improvise;
try removing all the borders on that particular cell then sort of draw a rectangle (Or similar shape) and set its fill to nothing so it can give this impression of a "straight border" and this will look good, if you format it well that is, on printed paper.
Or you can draw a textbox on top of the cell (with the same size) and remove any color fill
If there's an option of locking its position, it would be useful too

Excel charts: Overlaying scatter plot with bar chart

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.

How do I make the point label match the bar colour in jqplot?

I have a jqplot barchart rendering correctly. The chart has 2 series of data, one is is rendered blue and the other is rendered red. When I enable the pointLabels plugin to output the bar value above the bar the text is rendered in the default page font colour. I would like the font to use the colour of the bar each time.
Thanks.
It looks like the point labels are given classes based on their series. So point labels in the first series will have a class called jqplot-series-0, the second series will have jqplot-series-1 and so on. Just target them with some CSS and it should work.
.jqplot-series-0 {
color: red;
}

Resources