Questions tagged [xcharts]

xCharts is a Javascript library for building data-driven visualisations based on D3.js

xCharts is a Javascript library built on D3.js for creating data-driven visualisations. More information on its website.

10 questions
2
votes
1 answer

How to change from linear to logarithmic axis in XChart?

I am using java to manipulate statistical data in XChart. I have the charts working but they are using linear scales. The charts work but the data would be better represented with a logarithmic scale on the y axis. I have looked online and cannot…
Berti
  • 51
  • 3
1
vote
1 answer

Getting lines between donut chart created using iText and Xchart

I have created donut chart in PDF using Xchart along with iText. While opening it from Acrobat reader, I am getting some lines between donut area. Below is the code that I have used. Please suggest what may be the reason for these lines coming…
1
vote
1 answer

Real time XChart in JavaFX aaplication

I'm trying to embedded a XChart panel in a JavaFX application. For that I'm trying to use a swing node to add to it a xChart panel. So far it works, I can see the chart. The problem is that I need to update it in realtime every 50 ms and if I try…
Twistx77
  • 67
  • 8
1
vote
2 answers

Color Bar Graph in xcharts

Has anyone changed the colors of the bar graph in xcharts? Any idea how to do so? The plain navy blue is so boring: http://tenxer.github.io/xcharts/examples/ Thanks, Philip
Philip Tenn
  • 6,003
  • 8
  • 48
  • 85
0
votes
1 answer

Challenges with importing - import org.knowm.xchart.*

i am trying to find the two imports below. I am using Eclipse. Any ideas where I can find these imports? import org.knowm.xchart.*; import org.knowm.xchart.style.markers.SeriesMarkers; Many thanks in advance.
Berti
  • 51
  • 3
0
votes
1 answer

Creating graph with x-axis only using D3

I want to look for tutorials for creating a graph like the one below, but i don't seem to know the name of such a graph. Can any one tell me the name of such a graph, or point me to tutorials i can check out.
Tatenda
  • 679
  • 2
  • 10
  • 24
0
votes
1 answer

Data point as text label in xCharts

I'm trying to add text labels to certain data points with xCharts. For every point that has a "name" property I want a label near the point with the "name" value as text. This picture shows what I want: And here is the data set: var data = { …
Dala
  • 1,869
  • 2
  • 20
  • 22
0
votes
1 answer

JavaScript - Black Chart by xCharts

I've managed to get a basic xChart work. Although, It returns some black screen instead of the graph I want. I've included all requirements such as d3.js and all xCharts's JS. My code and ouput below :
user4156995
0
votes
1 answer

JavaScript - Basic Implementation of xCharts

I've just found out about the xCharts and trying to learn it myself from the Documentation of official page. I've applied the below code for the basic show so I could use this Charts later on, but the chart simply not showing up in the figure. Any…
user4156995
0
votes
1 answer

Cannot read property "getPropertyValue" of null in xChart

I am trying to use d3-based charting library xChart to create a graph module in my webapp. I am just using the example data provided by the xChart documentation, and I get this error every time I try to create the chart: Uncaught TypeError: Cannot…
tommybond
  • 650
  • 6
  • 19