Questions tagged as 'chartjs'

1
answer

How popular is ChartJS Chart with VueJs and Axios?

I'm not getting my graph with popular data from an api, can you help me, I do not know what I'm doing wrong! <template> <div class="py-1 bg-light px-5"> <div class="col-12 my-2"> <div class=...
asked by 23.10.2018 / 15:10
1
answer

I can not execute the jquerry loop

I need to create a loop for msm to feed a graph. while($(".previsto").eq(0).text(),){} I need to get these values eq (0), eq (1), eq (2) ... $(".previsto").eq(0).text(), $(".previsto").eq(1).text(), $(".previsto").eq(2).text(), ...   ...
asked by 27.08.2018 / 21:21
0
answers

Real-time xy graph in the inventor app using chart.js

I'm new to the development area in java, but I'd like to know how I can use chart.js charts to generate a real-time xy scatter plot of data from a sensor. The objective is to plot at x the applied potential (V), and at y the current (A) read. I...
asked by 19.01.2018 / 02:16
0
answers

Charts using ChartJS, Mongodb and Angular

Good evening, I have the following model: var mongoose = require('mongoose'); module.exports = function() { var schema = mongoose.Schema({ nome: { type: String, required: true }, valor: {...
asked by 08.11.2017 / 00:06
0
answers

ChartJS only starts the chart when I change the page zoom

People, for some reason my graph made in chartJS only shows the data when I press ctrl + shift + i to open the console or when I change the page zoom, which is not very interesting for a user. I'm testing on my notebook. Here is the code:...
asked by 05.08.2017 / 02:55
0
answers

Chart.Js mousehover action

Hello, I would like to know how to increase the size of the "caption" in the mousehover action of the Chart.Js library .. I read and did not find in the documentation, would anyone know? Follow the picture of how you are currently: Notic...
asked by 07.07.2017 / 14:33
1
answer

ChartJS with PHP

Oops, I'm using ChartJS for graphing, I'm integrating with PHP to send json to the chart php $arrLabels = array("January","February","March"); $arrDatasets = array('label' => "My First dataset",'fillColor' => "rgba(220,220,220,0.2)"...
asked by 31.05.2017 / 14:10
0
answers

How to use the flot chart on a web server?

Good I have an Apache web server running on a raspberry pi. This web server has a view_action.php file that makes the include of another page graph.html. This graph.html is a copy of a .html code from the flot chart examples folder. The jq...
asked by 25.04.2017 / 22:46
0
answers

Error Chart.js in Laravel?

I'm trying to use Chart.js in Laravel through their own lib, but it returns the following error: Call to undefined method Fx3costa \ LaravelChartJs \ Builder :: size () I do not know what can be, I did everything the way the documentation say...
asked by 24.03.2017 / 05:16
1
answer

How to detect the selected dataset in a charts

I'm using the following code to detect the dataset, but INDEX is wrong, where the value would be the index of the charts and not the dataset. I need to retrieve the dataset label corresponding to what I clicked on the charts. function G...
asked by 22.03.2017 / 21:18