Skip to main content

How to modify the query sent bythat the views inintegration with the chart API module provides?

I am using Google Charts API module to generate a pie chart of a content type with the fields Blood-groupBlood-group and countcount representing the sectors  . 

For this I need to completely alter the query (= select from a different table  ) that the views integration provides.

My question: Can iI use hook_views_query_alterhook_views_query_alter?

modify query sent by views in chart API module

I am using Google Charts API module to generate a pie chart of a content type with the fields Blood-group and count representing the sectors  . For this I need to completely alter the query ( select from a different table  ) that the views integration provides. Can i use hook_views_query_alter?

How to modify the query that the views integration with the chart API module provides?

I am using Google Charts API module to generate a pie chart of a content type with the fields Blood-group and count representing the sectors. 

For this I need to completely alter the query (= select from a different table) that the views integration provides.

My question: Can I use hook_views_query_alter?

Source Link

modify query sent by views in chart API module

I am using Google Charts API module to generate a pie chart of a content type with the fields Blood-group and count representing the sectors . For this I need to completely alter the query ( select from a different table ) that the views integration provides. Can i use hook_views_query_alter?