Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [charts]

Use it for questions about selecting or using any of the charting 'modules' and/or charting 'libraries' in Drupal.

0
votes
1answer
19 views

How to push values from views attachment to Javascript?

I have a table view with both filters and exposed filters, and attached to it there is another view that uses views_aggregator_plus to display a summary of months and different value counts. I want ...
-2
votes
0answers
11 views

Error when creating Pie Chart in Charts Module

When I try to create a pie or donut chart it gives me this error message: "Cannot read property 'color' of null". All other chart types work. Any idea why the module returns this error or how to fix ...
0
votes
1answer
43 views

How to chart data stored in a database table (dynamically) in Drupal 8?

I found these instructions for using the Charts module to display data from a database for Drupal 7: https://www.drupal.org/docs/8/modules/charts/charts-howtos/chart-some-data-stored-in-a-database-...
0
votes
1answer
30 views

What is the purpose of aggregation in view?

What is the purpose of aggregation in view? And why is it important to enable him when you make charts?
0
votes
1answer
139 views

Highcharts not working

I am using the Charts module for displaying charts in my Drupal project. When I took the chart API example module page, it's not displaying any. It throws me this error (in the console): Uncaught ...
0
votes
1answer
26 views

Decimal number and Charts Module

I installed Charts with Google Charts in Drupal 7. Everything is ok, but when I have to use decimal numbers, with number 0.5 or 0.8, it appears to me .0 or .8 both on the vertical axis of my column ...
0
votes
0answers
19 views

How to create a chart based on role count?

I need to create a pie chart on commerce orders according to user roles (for example, how many orders for people with a specific role). I have tried with Views and Charts but the aggregation on user:...
0
votes
1answer
22 views

Each node has a score (percentage) which is updated weekly & want to show latest and the past scores in below/in a chart

The site is keeping scores (by percentage) of how well it does in a certain area. So each node is a different area and that node will have a score of 7% in week 1. An example: Liverpool's score is 11....
0
votes
0answers
12 views

Creating a column chart without grouping - each choice in it's own column

I'm attempting to use Charts with the Highcharts submodule, with Advanced Poll data to populate the chart (basically votingapi data). With a poll that has two responses, I can't get them to show in ...
0
votes
0answers
61 views

Google chart of type “column” showing invalid chart when two field used in count

I want to show students ASER –Baseline and ASER – Endline score in Google chart. Below are my data. {Student name: A, ASER –Baseline: Lower case Albhabets, ASER –Endline: Para reading aser} {...
0
votes
1answer
284 views

How to programmatically set a Views display to override style options

I am working on the Charts module and have a stubborn issue that I'm trying to resolve. Charts provides a Views style plugin and a Views display plugin called Chart Attachment. The display plugin ...
1
vote
1answer
871 views

Charts module - How to assign different colors to each serie of a google bar chart

I'm using Charts module to create some charts using the API. Depending on some variable i can create a pie chart or a column chart. That variable is chart_type: $chart_type = 'column'; $chart_type = ...
1
vote
0answers
341 views

How to use render-arrays to programmatically create a chart in Drupal 8 block

I'm programming a block in Drupal 8: class B extends BlockBase implements BlockPluginInterface { public function build() { return []; // cannot figure out what to return here } } I read that ...
1
vote
1answer
109 views

Render chart with data from Views PHP custom field

How to render a Column Chart using data from Views PHP custom field (BAR Number (PHP custom) in the screenshot below)? I am trying to achieve a Column Chart; with each bar in the chart being distinct ...
0
votes
1answer
100 views

Print JavaScript in Custom Block Module

I have a google chart timeline that is dynamically updated from a google sheet. I created a custom module 'jsblock' to manage the script, styling and layout of the chart. To begin with, first I need ...
0
votes
1answer
81 views

Create chart for user count of user role using chart module(c3 lib) in Drupal 8?

I want to use chart module(c3 lib) of drupal 8 to show a chart of user count for different roles using views. E.g. Role Name Total user a 5 b 10 c 13 I achieved ...
0
votes
2answers
1k views

Attaching libraries to specific controllers

I want to include the google charts js library to a specific (or set of) controller(s). In my library file, gcharts.libraries.yml, I have the following: google_charts: remote: https://developers....
1
vote
1answer
30 views

Is it possible to use the Forena module in conjunction with the Flot module?

I need to plot based on some data that will be fetched from an external (non-drupal) database. I have found the Forena module, but in the part I do not like about the graph utility it uses by default. ...
0
votes
0answers
310 views

How to create a boxplot/candlestick chart?

I'm using Drupal 7.54 and I need to create a chart (scatterplot) showing also information like minimum, maximum and mean (e.g. body weight for fishes). Usually, a boxplot is the way to display that ...
0
votes
1answer
117 views

What's best module to built pie chart? [closed]

I want to build a pie chart to make a statistic for all my events. But, there are a lot of module. I want to know what's the best and responsive? I'm using drupal
1
vote
2answers
235 views

How to create 3d charts using Charts module and Highcharts library?

I want to create 3d charts using the Charts module and with Highcharts as its charting engine (library). How can I create such 3d charts?
1
vote
1answer
470 views

How to join the dots and reduce the dot size in scatter plot using Easychart?

I am using Easychart 7.x-3.7 with Drupal 7.51. I uploaded a CSV to display a scatter chart with x-axis (1st column) and y-axis (2nd column). The size of the dots are so big. Here is a screenprint of ...
2
votes
2answers
2k views

How to resolve “Referenced error: Highcharts not defined” when using Easychart?

I installed the Easychart module 7.x-3.7 in my Drupal 7.51 site. Using Highcharts 4.2.7 in libraries 7.x-2.3. I extracted highcharts and easychart-master contents into all/libraries/highcharts and all/...
2
votes
0answers
201 views

Why does my chart created with Easychart not display a chart if number of points are more than 1000?

I installed Easychart module 7.x-3.7 in my Drupal 7.51 site. I'm using Highcharts 4.2.7 in libraries 7.x-2.3. In the example contenttype easychart_ex, I tried uploading a data.csv file with number ...
1
vote
1answer
525 views

How to plot a chart from CSV uploaded in a content type? [closed]

I am uploading TXT and CSV files in a content type. While displaying it, I have to show that as a chart when users viewing the content of that content type. I have tried using the Charts module, etc....
0
votes
1answer
67 views

Easychart with views cache

I have installed easy chart plugin with Drupal 7 website. My pages are generated with views using nodehierarchy and quick tabs plugin. To speed up page load, I have enabled views cache. I noticed ...
0
votes
1answer
183 views

Group date field by day for chart

I have a custom database table with a datetime column that I have made accessible to Views. I want to create a line charts of number of rows per day but I can't get the View right. With aggregation ...
2
votes
1answer
277 views

Why is the chart button missing when trying to create a chart using Easychart? [closed]

I have chart content type and chart content. But when I try to add content I do not see the chart button, as shown in this image also:
4
votes
1answer
164 views

Create chart for fivestar note

I'm using Drupal 7, and Fivestar. I try to display notes in the format of a pie chart. If the note (= rating) is 5,2 on 10, I would like to have a circle of this type : I tried Charts (with Google ...
6
votes
2answers
2k views

Creating Interactive Charts

I'd like to create a page in D8 that allows my users to input some values. Once they've done that I'd like them to click a button that then creates two pie charts for them based on the values they ...
2
votes
3answers
579 views

How to combine values of same field in a single column of a chart created with Charts?

My question is about merging values for both the title field (= the company name) and various fields. I'm currently using the Charts module. In the picture below, it shows a column chart that ...
5
votes
1answer
1k views

Configure Easychart [closed]

I have installed Easycharts and have the Chart content type available and can create nice looking charts. I can almost create views with lists of my charts. My problem is that I can only create ...
0
votes
3answers
442 views

How to create a price list easily with core (Responsive tables)? [closed]

I need to create a node price-list in Drupal 8 - A node like any other featuring a price list I could update easily; I prefer doing it solely with the (very rich) Drupal 8 core, without installing any ...
2
votes
1answer
232 views

How do I show webform component labels in a chart using Views chart format?

Drupal 7.50, Webform 4.12, Webform Chart 2.0, Views 3.13, Charts 2.0, with Google Charts as the charting engine, so not Highcharts. I have a webform that collects simple drop down list values for ...
2
votes
1answer
939 views

How to create HTML Tooltips using the Charts module's API with Google Charts? [closed]

I'm using the Charts module and I've been trying to set up a simple pie chart that has HTML in the tooltips. We would like the HTML to be menu links, but they can just be manually coded into the ...
1
vote
1answer
516 views

How to attach a CSV file with the Google Chart API?

I have created a Google Chart based View and it is working nicely. Please guide me how to give the facility as the user should be able to upload a csv file and the data comes accordingly.
-1
votes
2answers
494 views

How to know what Drupal theme is this site using? [closed]

Does anyone know which Drupal theme this site is using? I am interested in purchasing a copy. http://www.evolution-xy.fr And also how to create a pedigree chart like that one with Drupal? http://...
1
vote
2answers
263 views

How to create Stacked area charts instead of Basic area charts using the Charts module?

Anyone know how to create multiple stacked area charts vs multiple basic area charts in Drupal using the Views integration of the Charts module (and using Highcharts as the charting engine)? I would ...
4
votes
1answer
922 views

How to show multiple Series of line charts in Views with the Charts module?

I need to create multiple line charts in the same chart. I have a year column, a product column, and a consumer column. I can plot product and year or consumer and year, but when I use all three ...
2
votes
1answer
585 views

How to create a chart from simple data without using the Views aggregation feature?

I am trying to create a chart from really simple data. I am using the highcharts library and the Visualization API module and Views. It seems like the only type of graphs that I see examples of on the ...
1
vote
0answers
165 views

Charts, how to format a date/time from external table on X-axis in Views

I am using the Data Module to bring in some data from an external database. Have configured a View to display a Chart (using the Charts Module) of the columns I require and it works great, except ...
1
vote
1answer
65 views

How to start view chart on last page

I am using the Charts module and Google Charts API with Views. I want my view to display with the last page of the view showing on page load. How can this be accomplished? For more explanation of what ...
0
votes
1answer
334 views

How to create a Views based chart with time intervals and using Highcharts?

Is there any change to do time interval to Highcharts -module ? Such as in this example: http://www.highcharts.com/stock/demo/compare Or do I need to use different module for that?
1
vote
2answers
72 views

How to use ungrouped date fields as data for Charts Views?

I have a content type with the following date fields: Start Date Deadline Date End Date Deadline date is programmatically calculated, where as Start and End are based on user input. There is a ...
1
vote
1answer
111 views

Viewing statistics for content types

I am trying to use the Google Chart Tools module to display graphs with data regarding content types inside a view (Views module). For example, lets say I have a content type called Car that has a ...
4
votes
2answers
111 views

How to create charts based on content types items? [closed]

I want to create a chart according to each content type created per month or week. How can I do it? Is there any suggestion to use some module?
2
votes
1answer
427 views

How to make a chart in Views with date as x-axis (using the charts module)?

I want to make a simple view using the Charts module. The x-axis will be a custom field of type Date that I want to show in Y-m-d format and grouped by the same date. The y-axis will be NID with ...
1
vote
1answer
463 views

How to add a radar chart to Views?

I'm using the Charts module to create a chart in my view (using its Views integration). But the supported chart type doesn't include Radar chart, which is what I would want it to be. I found a sample ...
0
votes
1answer
257 views

How to aggregate field results to a chart?

I installed the Chart module and I'm using it in my Views display. I have a field: Score I added a chart but it shows two different charts (see image) instead of just one with all the results from ...
0
votes
1answer
95 views

Views exposed filter - Replace '-Any-' by Select All

I have a view with an exposed filter of taxonomy terms. Because I'm using charts, when I select the option '-Any-', the chart gets messed up. I noticed that, if I select all terms available instead of ...