Project:Charts
Version:6.x-1.0-alpha4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

unpack the attached file into charts module directory and
insert this code into the charts.module file

/**
* Implementation of hook_views_api().
*/
function charts_views_api() {
  return array(
    'api' => 2,
    'path' => drupal_get_path('module', 'charts') .'/includes/views',
  );
}
AttachmentSize
charts.tar_.gz2.4 KB

Comments

#1

Chart created from a view

AttachmentSize
chart_in_views.png 19.05 KB

#2

Hi,

I can choose "Basic Settings" -> "Style" -> Charts, but when I want to preview my chart, I have no display called "make_chart" like in your screenshot! Can you please provide a little more help text, how to set this up?!

Regards,

Tobi

#3

example view attached. just simply import it. It will show nodes per type in pie chart..

I just realized, that the code is not perfect, it does not work with user roles for example. This will need much more testing..

AttachmentSize
chart_view_example.txt 944 bytes

#4

Updated package. it is now possible to show user roles in chart.
example view of user roles attached..

AttachmentSize
chart_view_example2.txt 941 bytes
charts_2.tar_.gz 2.41 KB

#5

note:
in chart.help.ini
under [advanced help settings] add

hide = TRUE

this removes charts module from the help index

#6

Status:needs review» fixed

Csuthy,

thanks a lot for all your effort with Charts module. I really appreciate it. please fill free to report any other bug or new feature.

this patch was commited!

regards,

massa

#7

Terrific!
This ought to be front page news.

#8

I'm having the same issue at the moment (as DerTobi)- can't actually get a chart to output, even if I use the example code provided. Using latest releases of both charts and views.

#9

@lunas: can you attach a screenshot about what you see when you change the view style to table style? So I can have a guess what could be the problem.
and most importantly another screenshot from the admin/settings/charts page (there should be an example chart displayed on that page, when you set up charts module correctly)

#10

Pasqualle - thankyou very much -- kinda feeling a little dumb at the moment. Didn't realize charts had an admin setting to setup. Now that I've done that, charts are showing up. Go figure. Thanks again.

#11

Status:fixed» closed (fixed)

Avoiding further possibilities of people posting new issues inside this one.

Please open a new issue.