I am trying to have my own y axis labels for the bubble chart in nvd3. Currently the labels are [1,2,3,4,5]. I want them to be displayed as [2,4,8,16,32]. I found the following function,   chart.yAxis.tickValues(['2','4','8',&...
I am currently working on a stacked bar chart, and I'm having a problem with the axis labels. The labels look fine at first blush, but I noticed that there is not always a tick at the top of the Y axis. I've pasted a picture below.    As you...
I'm creating my axis with the following text, however the color of the labels is not changing properly; the color the text remains black. Does anybody know why?    // create Axis   svg.selectAll(".axis")       .data(d3.range(angle.domain(...
My x-axis currently has numbered ticks. I want the ticks to be replaced with data from my object (specifically the keyword value). How would I accomplish this?  I have a working Fiddle  var dataset = [             {"keyword": "payday loan...
How do I add text labels to axes in d3?  For instance, I have a simple line graph with an x and y axis.  On my x-axis, I have ticks from 1 to 10. I want the word "days" to appear underneath it so people know the x axis is counting days.  Simi...
Is there any possibility to limit the number of d3.svg.axis integer labels displayed on the graph? Take for instance this graph. There are only 5 sizes here: [0, 1, 2, 3, 4]. However, the ticks are also displayed for .5, 1.5, 2.5 and 3.5....
I have a chart with dates on the x-axis. Now I would like to add the time aswell and place it on the row below the date for each tick because the text get rather wide for each tick with both date and time.  By looking to the question suggestion below...
I'm using Chart.js for a simple bar graph with data read from mysql. Unfortunately, the y-axis starts at random numbers, often higher than some of the bars. Therefore, some bars are not visible, although their value should be high enough:    I...
I have the following bubble chart coded with dc.js which is built upon d3.js.    All is good, but for some reason I cannot see the tick marks. When I inspect the DOM I can see that they are present:  <line y2="6" x2="0"></lin...
Is it possible in Plotly.js to place tick marks between the bars? Here i'd like the ticks to represent cut points in a continuous distribution and the bars to represent counts within the intervals between.  An alternative is to make the axis labe...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.