Questions tagged [flot.tooltip]

14 questions
5
votes
1 answer

$tooltipProvider error at angular 1.4.7+

I am trying to upgrade my angular version from 1.3.15 to 1.4.7+. All my bower components got downloaded and gulp run successfully. When I load my page, I got the $tooltipProvider error in console. Any help regarding this is appreciated.
Senthil Kumar J
  • 208
  • 2
  • 13
4
votes
1 answer

Returning Month and Year from Month Variable and Month-Year Range

I'm using jQuery Flot Chart and trying to configure my tool tips per my liking. The chart I am creating is a stacked chart and has two overlaying charts with 12 points or markers on each line graph. Each point indicates a month going back a year for…
Brian Bruman
  • 883
  • 12
  • 28
4
votes
1 answer

Setting label for tooltip in flot based on x-axis value

I have a line graph using flot. I want the tooltip to show the x-axis and y-axis values. I am trying: content: "Orders %y for %x", But this shows "Orders 100 for 0" for the first point, "Orders 100 for 1" for the second and so…
Chris
  • 4,672
  • 13
  • 52
  • 93
2
votes
1 answer

%p for percent in stacked graph with jquery.flot.tooltip is not working

I am using jquery.flot.js (v 1.1) for graphs and for tooltip jquery.flot.tooltip.js (version: 0.6.7) I wanted to show percentage area covered by each stack in stacked graph. I have tried it using %p. But it's not working, it return "%p" in…
sunil
  • 1,040
  • 9
  • 20
1
vote
1 answer

Different tooltips for series in FlotChart

I have Flot line chart with two dataseries. I would like to edit the tooltips independently for each series. I have tried moving the tooltip settings to the dataset part but it didn't work. Does anyone know a solution? $(function () { var barOptions…
Wessi
  • 1,702
  • 4
  • 36
  • 69
1
vote
1 answer

Flot Tooltip Integers / Customization

I made a bar chart with the Flot library, and used the flot-tooltip plugin to create the tooltips. Alas, while all the tooltip values should be integers, they appear as floats. At first I tried to use parseInt on the actual data passed to Flot, but…
Ynhockey
  • 3,845
  • 5
  • 33
  • 51
1
vote
1 answer

add tooltip to flot chart

I am new to charts but I've been trying to add a tooltip to a chart for last couple hours and I just kept failing all I want is do add a tooltip on points hover with text - point_number + "rating" $(function () { var plot =…
EvilNabster
  • 514
  • 1
  • 6
  • 20
1
vote
2 answers

Customize tooltip in FLOT graph

I am using FLOT to display graphs. To display tootip i am using https://github.com/krzysu/flot.tooltip. Now I want to customize content of tooltip so I am using callback to set content of tooltip. Code snippet: tooltip: true, tooltipOpts: { …
sunil
  • 1,040
  • 9
  • 20
0
votes
1 answer

Inserting labeled javascript/json into a coffee format

I am trying to use Flot tooltip in a coffee file, but I am having trouble inserting the necessary labelled javascript/json code into the coffee code. I've tried the js2coffee converter tool, but it doesn't seem to work. Here's the code, I am trying…
gwydion93
  • 1,681
  • 3
  • 28
  • 59
0
votes
1 answer

Flot chart combined tooltip of multiple series

I have a flot chart with multiple series. I need to show y-values of all the series together when any point is hovered on for a particular x-value. I'm using flot.tooltip for showing the tooltip. Is there any way to combine the y-values of all…
Dushyant Bangal
  • 6,048
  • 8
  • 48
  • 80
0
votes
2 answers

Stackbar chart is overlapping in flot chart

Need help in properly plotting a stacked bar chart in flot chart. Not sure why my bars are not stacking, I am preparing my dataset dynamically. Below is my data format. [{ "data": [ [1415491200000, 1], [1415577600000, 2], …
AabinGunz
  • 12,109
  • 54
  • 146
  • 218
0
votes
1 answer

How to customize flot tooltip in angularjs?

Is there a way to change flot tooltip look something like below image (mainly shape with arrow pointing down)? Below is how I get my tooltip currently. my tooltip function var translateDateTooltip = function(value) { if (value == null || value…
AabinGunz
  • 12,109
  • 54
  • 146
  • 218
0
votes
1 answer

Determine plot of flot point

I have a flot graph with a few different plots in it. There is interactivity that triggers an event when a point is hovered over, a la http://www.flotcharts.org/flot/examples/interacting/. Is there any on-hand way of determining which plot the…
Bondolin
  • 2,793
  • 7
  • 34
  • 62
-4
votes
1 answer

tooltips of a scaled jquery flot chart appear in wrong position

I'm using the flot library How do I get the correct tooltips if I scale the chart with this css rule: transform: scale(0.7); flot source uses the function findNearbyItem to find hovered items. [FIDDLE] that demonstrates both cases - scale(1), and…
animaacija
  • 170
  • 9
  • 25