Questions tagged [sparklines]

Sparklines are small inline charts. There is a jQuery plugin that generates these in the browser, as well as a Google Sheets function. Please specify the technology being used (jQuery, google sheets, etc.) to generate the sparkline.

Sparklines are small inline charts.

jQuery Sparklines is a jQuery plugin that generates sparklines directly in the browser using data supplied either inline in the HTML, or via JavaScript.

There is also a Google sheets function that generates sparklines in a cell.

238 questions
0
votes
1 answer

How to pass list of values, json pyspark

>>> from pyspark.sql import SQLContext >>> sqlContext = SQLContext(sc) >>> rdd =sqlContext.jsonFile("tmp.json") >>> rdd_new= rdd.map(lambda x:x.name,x.age) Its working properly.But there is list of values …
Kumar
  • 167
  • 1
  • 2
  • 9
0
votes
1 answer

jQuery sparklines set colour of individual bar

I am using jquery Sparklines to make cute little bar graphs however I want to only colour the last bar a different colour. The code below works, but it would be nice if I could colour the bars by the tooltip names rather than by value. Is there a…
ChiMo
  • 581
  • 2
  • 13
  • 32
0
votes
1 answer

jquery sparklines.js will not display when I unhide/toggle a div

I can't get sparklines.js to unhide my sparklines. I've included the $.sparkline_display_visible() function in the function where I unhide the div. The official docs are pretty straightforward: From…
Marc Maxmeister
  • 4,191
  • 4
  • 40
  • 54
0
votes
1 answer

In R, write functions on-the-fly (for sparkTable content)

I'm learning to use the sparkTable package. I'm creating tables having a sparkLine followed by a certain numbers of columns (not fixed). The columns all achieve the same thing: display the n'th element of the time series, rounded to 2 digits. For…
Dominic Comtois
  • 10,230
  • 1
  • 39
  • 61
0
votes
1 answer

sparklines with real time data

How can I create a sparkline with real time data coming from event listener in javascript ? I tried couple of resources, but none of them gives me a clear understanding of how can I continuously send the data points to sparkline to plot them.
pbathala
  • 1,390
  • 2
  • 18
  • 39
0
votes
1 answer

Excel 2013 Function that will return last 12 values listed in a column every time I update it?

As the title describes I am attempting to find a function that will return the last 12 values of column. The catch is that a new value will be added to the column on every month and I need the values to update automatically. My end result would…
0
votes
1 answer

Jquery sparkline

I am using Jquery Sparkline plugin to draw line graphs on my website, it's working fine but I want to edit its tooltip. I read whole tooltip documentation available in their official website but no positive results. Here is my…
void
  • 36,090
  • 8
  • 62
  • 107
0
votes
2 answers

How to center jquery sparkline canvas in div

I can't seem to center the canvas created by jquery sparklines in a div element. The canvas has a fixed-width, but the usual css (display:block; margin:0 auto;) doesn't seem to work. Here's the jsfiddle: http://jsfiddle.net/7V5nH/ Could someone…
myworkaccount
  • 139
  • 1
  • 2
  • 14
0
votes
0 answers

Combine a sparkline into gauge

See this image of my gauge: I need to convert the Savings Goal bar into a line (Sparkline) that cut across the other 4 measurements. Will SSRS allow me to do that? Or is there another way to do it that I just don't know about? I've tried…
0
votes
1 answer

Json response as tooltip value lookup for a jquery sparklines graph

I'm trying to use a json response as the tooltipValueLookups parameter in a sparklines graph, without success. The tooltip just keeps showing 0:5 and 1:8 instead of Mulder:5 and Scully:8 It works perfectly if I just declare the variable agents with…
Sam
  • 91
  • 5
0
votes
0 answers

Normal range for d3.js diagram usind domain method

Here a link with fantastic description of sparklines implementation using d3.js I'm doing something similar but I need to define a normal range for each sparkline, like here on mockup : This grey bar is hard coded now. The meaning of this bar is to…
Edd
  • 665
  • 1
  • 5
  • 13
0
votes
1 answer

Adjusting the sparklines chart type

I went through the docs available but sill can’t figure out quite much how the ShieldUI sparklines JavaScript chart is used. I don’t see such a type e.g. dataSeries: [{ seriesType: "sparklines", but I see “area” instead. I tried with bar,…
0
votes
1 answer

Sparkline clickdemo barchart

I would like to use the sparklineClick Event for sparkline barcharts. It seems that this only works for line charts. When I use the code from the demo I get undefined for the region. $('.clickdemo').sparkline('html', {type: 'bar', barColor:…
woopi
  • 368
  • 2
  • 9
0
votes
0 answers

redraw sparkline boxplot chart when input value has changed

I was wondering why the chart is not redrawing when I bound it to a change event, If so how can I make a callback for this? here's my jsfiddle: http://jsfiddle.net/a_miguel6687/aL73X/13/ .What I want to happen is that when I click a new radio button…
a_miguel6687
  • 521
  • 3
  • 10
  • 22
0
votes
0 answers

Table and embedded Sparkline

I am working with SSRS 2008. I want to show monthly data of different products in a table with a embedded sparkline graph. The table should look like below: Product Avg Sales Min Sales Sparkline P1 100 10 30 days sales…
V.B
  • 1,191
  • 7
  • 29
  • 55
1 2 3
15
16