Questions tagged [cubism.js]

Cubism.js is a D3 plugin for visualizing time series.

Cubism is a plugin that constructs realtime dashboards, pulling data from Graphite, Cube and other sources.

It is maintained by Square and available under the Apache License.

90 questions
0
votes
1 answer

Axis for 1 day with a step of 10 mins in cubism

I am trying to make an axis of 24 hours with a separation of 1 hour in cubism. var context = cubism.context() .serverDelay(30*1000) .step(10 * 60 * 1000) //The step size is 10 mins .size(window_width -…
Dan
  • 801
  • 2
  • 14
  • 29
0
votes
1 answer

Do not draw empty metrics

I have just started using Cubism.js with Graphite as its data source an I am facing the following issue: When I ask cubism to find all the metrics that match a specific pattern "findMetrics" it finds all the metrics correctly, but I would like it to…
syepes
  • 13
  • 4
0
votes
2 answers

Cubism callback array seemingly replaced

I'm using some static data to generate charts using cubism's context.metric function. However, all of the charts end up displaying the same array of values (the last one passed in) although I passed in different arrays in the callback function. var…
Penguinator
  • 641
  • 3
  • 11
  • 22
0
votes
1 answer

Distinct metrics for Cubism (Square/Cube)

I'm looking for a rest call to square/cube that will give me a distinct list of a certain property from my events. My property is a string on the data property of the cube event. Is that possible to do via REST?
Scott
  • 4,066
  • 10
  • 38
  • 54
0
votes
1 answer

Feed discontinuous data to Cubism.js chart

I have an Eclipse RCP application that uses an SWT browser to visualize data via D3.js. Additionally I'd like now to plot some live data using Cubism.js. The values to plot arrive at irregular intervals at the RCP application. My current feeble…
Matthias Braun
  • 32,039
  • 22
  • 142
  • 171
0
votes
1 answer

d3.js selection and call() conundrum

i have the following bit of d3 (cubism) code in a coffeescript class: d3.select("view").selectAll(".horizon") .data( @metrics ) .enter() .insert("div", ".bottom") .attr("class", "horizon") .call( @ctx.horizon() ) and everything…
yee379
  • 6,498
  • 10
  • 56
  • 101
0
votes
1 answer

Cubism: Series Not Rendering, However Getting Numeric Values

Attempting to write a simple visualization using Cubism and D3. Admittedly, I'm fairly new to using Cubism and D3 and the Cubism documentation is very hard to understand. Polling a URL for a numerical value to retrieve the 'rate' and then pushing…
Maz
  • 91
  • 1
  • 5
0
votes
1 answer

Disappeared cubism.js rule

The default cubism.js rule only covers the current browser. Once you scroll the browser down the rule (line) ends. Anyway to extend that besides resorting to javascript?
Jules
  • 153
  • 1
  • 12
0
votes
1 answer

How to create time scale in d3?

On the top of the horizon chart of the application I inherited it has an time series displays the hour of the day (9pm Fri 3am 6am ...). In the chart it has data volume.From the cubism Wiki it stated that "The context's x-scale; a d3.time.scale. The…
Jules
  • 153
  • 1
  • 12
0
votes
1 answer

cubism.js last hour axis

I'm trying to build a real-time chart displaying values from 0.0 to 1.0 of the last hour. From the server side I'm returning an array of the values grouped by…
msangui
  • 21
  • 3
0
votes
1 answer

Counting events

I'm using Cube and Cubism. It's perfect, except for one thing... I need to display the total events numerically. E.g. I have a metric showing API calls per 10 second, I need to know the total API calls. Is there anything built-in that I'm missing?…
user172783
0
votes
1 answer

Why won't this snippet of cubism JS generate a graph from Graphite?

I'm trying to get a graph to generate using this snippet of JS. I seem to be having a problem with metrics2. if I set metrics2 to be this, then a graph is rendered in my browser. [1] var metrics2 = [ …
0
votes
1 answer

Invert horizon graphs in cubism

I am trying to get those cool network graphs I saw on the cubism.js presentation where the RX was upside down on top and the tx was normal below. The fact is that the only way I seem to get the chart drawing upside down is doing metric.multiply(-1)…
Arkaitz Jimenez
  • 22,500
  • 11
  • 75
  • 105
0
votes
1 answer

cubism.js and Internet Explorer

Last week I finished a website which makes use of d3.js and cubism.js. During development I stumbled across some problems but was always able to fix them. At the project's final meeting my colleague had the idea to open the website in Microsoft's…
EightBitBoy
  • 653
  • 6
  • 23
0
votes
1 answer

How to update the axis scale on change events in cubism/d3

I am trying to make a demonstration using cubism. I have created a custom context.metric, similar to the random() function on the cubism homepage. This loads my data set and renders correctly, showing a new row each second. What I want to do now…
Scott
  • 590
  • 4
  • 13
1 2 3 4 5
6