Hot answers tagged

8

Using the Charts module Step 1: Create the tabular format of the view First to address the "if it's possible to list last 7 days date in views at all or not" part of your question, you really need to first work on getting the view created correctly. That's also what's recommended in the Bonus tip within Steps to create charts using the views UI, i.e.: ...


6

There are at least 3 contributed modules which may help to use the D3.js library (open source, released under the BSD license) in a Drupal 7 site: Charts and Graphs: Charts and Graphs is an API for developers. It can be extended by third-party modules that want to add their own charting implementations. It does nothing by itself. It should only be ...


4

Option 1 - simple Generate a block using a custom module Making a simple block module with drupal is really easy. The examples project includes a block_example, this is a good starting point. The following is roughly what your module (d3wordcloud.module) should look like: d3wordcloud d3wordcloud.info d3wordcloud.module d3wordcloud....


4

The Views Watchdog module might be useful. The Views Watchdog module extends the Views module and allows to create customized lists (pages, blocks, feeds) of watchdog entries. Combine it with the Charts module and a bit of custom code and you should be able to get a wide array of reports.


4

This kind of questions show up quite often. And each time I try to get them resolved with this very first attempt (if it is related to a Views display): You may find it easier to start with a "Table" display and convert it to a chart display after setting up the data. It can be easier to visualize what the result of the chart will be if it's been laid out ...


3

Seems to me that Google Analytics Reports is the solution for this, no? Those "reports" do include charts also (not just tabular data). If you rather want to create some charts yourself, consider the Comparison of Charting Modules as a possible place to do start from, to find the module that best fits your needs. Possible alternatives that might work for ...


3

You might want to use the Google Chart API module with Views integration. Here is a post that might help you - Add Charts To Your Drupal Site. It uses the Node Import module to create a node of statistics by way of importing a CSV file.


3

The best tracking out there is google analytics and its not a module. You simply add the javascript provided by google to every page in your site and access all the info and much much more on google's analytic dashboard. To add the javascript provided by google to your site other check the drupal module Google Analytics or add it yourself through a template ...


3

Finding an appropriate charting module To create charts in Drupal, consider the Comparison of Charting Modules as a possible place to start from, to find the module that best fits your needs. That comparison does include the modules mentioned here, but quite AbitMORE charting modules ... Possible alternatives that should solve this specific question, are ...


3

Google Chart Tools Display live data on your site using Google Chart Tools Google Chart Tools module provides a simple API to Build custom interactive SVG charts. Views integration The Google Chart Tools Views module is based on the Views built in aggregation function. For basic instructions of using the Views integration module check ...


3

There are 2 possible approaches to consider, as further explained below ... Approach 1: using the Charts modules This is like rolling your own cookies. You create your chart (as you already seem to have done in the image above), using either the "Charts API" (= write some PHP code to populate the charts Array, whereas you put that PHP code in the content ...


3

Part 1: From the Charts documentation The tabular data for which you're trying to create a chart looks pretty similar to the tabular data of this variation (with it's corresponding area chart below it): The above screenprint is from Preview 4: Area chart created with the views UI, which was created using the Charts module. Preview 3 of that same community ...


3

Have a look at the Easychart module, which has an official release for Drupal 8 (also for Drupal 7). It is a graphical user interface, using the Highcharts javascript library as its charting engine (which may require a commercial license though). It claims to support every Highcharts chart-type and option. Some more details about this module: It defines a ...


3

This is how you can achieve that: diff --git a/src/Plugin/views/display/ChartsPluginDisplayChart.php b/src/Plugin/views/display/ChartsPluginDisplayChart.php index 3dbad31..68048ce 100644 --- a/src/Plugin/views/display/ChartsPluginDisplayChart.php +++ b/src/Plugin/views/display/ChartsPluginDisplayChart.php @@ -29,6 +29,10 @@ class ChartsPluginDisplayChart ...


2

There's a couple of problems in your code: include($path.'/Code/PHP/Includes/FusionCharts.php'); you have to use ./ to include files. include($path.'/Code/FusionCharts/FusionCharts.js'); you should use drupal_add_js() to include javascript in your code. FusionCharts documentation seems a little old as Column3D.swf is now FCF_Column3D.swf Here is a working ...


2

The output you are seeing is simply the PNG file that is being outputs it would be a text file. That is because Drupal already sets the "Content-type" header to "text/html; charset=utf-8," while the method you are calling is setting it to "image/png." function stroke($BrowserExpire=FALSE) { if ( $this->TransparentBackground ) {...


2

Possible options To create charts in Drupal, have a look at the Comparison of charting modules as a possible place to start from, to find the module that best fits your needs. That comparison includes quite some charting modules ... and related charting libraries (engines). Options to be eliminated Possible alternatives that for sure will not solve this ...


2

You can use Flot since it has views integration as Quiz. Flot can be used offline while Google charts can't because of their TOS.


2

The Google Charts module for Drupal 7 now has support for organizational charts.


2

I think the Schema Module can handle that... Schema documentation: hyperlinked display of the schema's embedded documentation explaining what each table and field is for. I confess I haven't tried it but the module page mentions the INFORMATION_SCHEMA database that the Schema module uses to inspect the database. so I imagine it has the ...


2

I use statcounter and it tells me exact path of users.


2

I think I found this solution on those 3 articles: http://blog.amazeelabs.com/en/create-ultimate-google-analytics-dashboard-drupal-part-1 http://blog.amazeelabs.com/en/create-ultimate-google-analytics-dashboard-drupal-part-2 http://blog.amazeelabs.com/en/comment/257249 i hope this helps someone.


2

I realize this is an old post, but I wanted to add a workable solution for those that find this question when searching the topic. I've been able to use a combination of the Charts module to create a view that display the history of the user's total userpoints. It is fairly straight-forward to create a view that displays all of the userpoints transactions ...


2

You can use Charts & Graphs, Charts or View Charts module. Through this you can show information in the form of graph.


2

You can also use Charts: Charts Transform Data into Information. Charts are a very good way to visualize a lot of data in a way that can be quickly digested.


2

Finally I can find the answer, after keep on trying: I have to switch to custom label. Just change to custom label in the field.


2

A few points on this: I recommend not hacking drupal modules like that. You will quite possibly cause yourself troubles later on . There are patches in the issue queue that allow you to better override charts without hacking the module. See https://www.drupal.org/node/1809850 It may be worth checking out other patches in the issue queue. There are a bunch ...


2

No, not in the charts module, in a custom module of your own. It is also possible for you to use drupal alter hooks from your theme's template.php file however you should be careful what you put in your theme. You should only put code relating to visuals in the theme, if you are doing more functional code it should go in a module. A good rule of thumb is ...


2

See the answer here: https://www.drupal.org/node/2208461 (Courtesy of Quicksketch) It is now incorporated in the (brand new) Charts community documentation, within Use sub-charts to create dual-Y-axis charts, which details the 4 steps to create such charts.


2

As mentioned in the previous answer, charts is indeed a module that might be considered. In response to the comment in it about "not using views" you need to know that using views for creating charts is only one of the available use cases for the charts module, as explained in the charts community documentation. Here is the relevant quote of it: Various ...


Only top voted, non community-wiki answers of a minimum length are eligible