Questions tagged [c3]

C3.js is a Javascript library that uses D3.js to create reusable charts.

Site: http://c3js.org/

GitHub: https://github.com/masayuki0812/c3

129 questions
0
votes
2 answers

How to Create Dojo Widget using C3

I couldn't find any example describing the creation of Dojo Widget using C3 library. Before trying to create a widget, I tried to create a module, and it worked. I am new with Dojo ... so here is what I tried to create a Widget with c3 :…
Souf
  • 325
  • 1
  • 5
  • 16
0
votes
1 answer

Can't rotate y-axis tick text when axis is rotated

I'm trying to rotate the axis ticks along the bottom of the chart. I can rotate the x-axis ticks just fine but once I rotate the axis itself then the axis along the bottom is technically considered the y-axis and I can no longer rotate the ticks. I…
Ben
  • 5
  • 1
  • 4
0
votes
1 answer

C3 subchart won't start with initial value on timeseries chart

I am running into the problem where my subchart won't start with an initial value when I am using a timeseries chart. I think that the format property on x.tick is somehow messing it up. Any help would be appreciated. The code below is an example…
Ben
  • 5
  • 1
  • 4
0
votes
1 answer

need to set back ground color for c3 sub chart or make it less transparent than main chart

When I am using sub chart, one problem I am facing with user experience is both Main chart and Sub chart are of same importance, I mean same color, etc Instead what I expect is the sub chart should be less transparent or should be provided an option…
Madasu K
  • 1,813
  • 2
  • 38
  • 72
0
votes
1 answer

Setting the graph name in C3.js

I have a graph that in which I load new data, using the following function: function insertGraph(yAxis, xAxis, Header) { setTimeout(function () { chart.load ({ bindto: "#graph", xs: { 'y':'x' …
Mike
  • 785
  • 1
  • 13
  • 29
0
votes
1 answer

How to create a bar chart with C3 that doesn't group all columns in the same set

http://jsfiddle.net/Ln83xd1k/ I've created a C3 bar chart, but I don't have multiple sets per column. I only have the values per-item. It seems like it should be a nice classic easy bar chart to create... but I can seem to only create a chart that…
Jason Crist
  • 138
  • 5
0
votes
1 answer

How to make axis ticks disappear in c3js?

I'm trying to remove the X and Y axis ticks and keep their corresponding values. http://c3js.org/samples/simple_xy.html So here I'd want to remove those little tick lines on the X and Y axis, but keep the values. What is the best way to proceed…
Shail Patel
  • 1,764
  • 5
  • 30
  • 46
0
votes
1 answer

c3js line chart all data unselected how to show tick values

I have a simple c3js line chart w/3 different lines. When I "unselect" all 3 data sources, the x-axis tick values disappear. I was wondering if there was anyway to reverse this behavior? I'd like to show the x-axis tick values even when there is no…
Shail Patel
  • 1,764
  • 5
  • 30
  • 46
0
votes
0 answers

what is the name of this encryption/decryption method?

this is an encryption / decryption method that i found online..... i just want to know the name of this method (am using asp.net c#) public string Encryptdata(string password) { string strmsg = string.Empty; byte[] encode =…
0
votes
1 answer

How to create stacked bar chart using C3 for string data?

I am trying to created stacked bar chart using C3 chart. But i am facing problem as i am trying to plot a graph with string values. My data looks like this var data1=["Country", "Denmark", "India"] var data2=["Value", 1, 1] var…
aye26
  • 179
  • 1
  • 2
  • 16
0
votes
1 answer

C3js - Uncaught TypeError: Cannot read property 'data' of null

The error message is re-created in this demo: http://plnkr.co/edit/6Tok16U287sKHQpsRAmX?p=preview var chart = c3.generate({ data: { "columns": [["B1", 1], ["B2", 2]], "type": "donut", onclick: onClick, }, donut: { "title":…
StinkySocks
  • 812
  • 1
  • 13
  • 20
0
votes
1 answer

Datalist does not exist in current context error in c# with asp.net

I have a datalist that looks like this:
0
votes
1 answer

C3js, Papaparse, Parse CSV to C3js

I've been trying to parse a CSV file with Papaparse4 to use it on charts created with C3js, but I can't get it to work. I want to be able to load different CSV files, so I'm using a file input, the file gets parsed (I can see it on the console), but…
0
votes
1 answer

How to create C3 chart from an api link?

I tried to use this example in order to create a C3 chart. But its using all the data in the api. I am using angularjs. my data looks like this [ No:1 Name:'abc' Id:3 Value:34 ] here is my code d3.json("http://api.mydata", function(data) { var…
aye26
  • 179
  • 1
  • 2
  • 16
0
votes
1 answer

Omitting the initial transition/animation

Is it possible to omit the animation at the beginning of the graph generation? I know there is transition { duration: 0 }, but I would like to still have other modification transitions. Can someone help me, please? Thanks in advance!
Martin Linha
  • 979
  • 9
  • 21
1 2 3
8
9