Pentaho Tools :

Pentaho C-Tools(CDE,CDF,CDA),Pentaho CE & EE Server,OLAP-Cubes,Analysis using Pivot4J, Saiku Analytics, Saiku Reporting, Ad-hoc Reporting using Interactive Reporting Tool,Dashboards,Reports using PRD, PDD,Data Integration using Kettle ETL,Data Mining usign WEKA,Integration of Servers with Databases,Mobile/iPad compatible Dashboards using Bootstrap Css,Drilldown dashboards,Interactive Dashboards

Thursday, 24 May 2018

Tip : How to get default color palette for a bar graph having no series in Pentaho CDE?

Hi folks,

Working on Pentaho suite always an interesting job.! You would neither be a complete coder nor be a complete designer when working with tools like ctools. This is where the complexity lies.

Today, I was talking to a community folk about category colors for a bar chart.

The requirement was to get default color palette for the basic settings of the graph.
i.e., a normal bar graph(without series)  always get blue color for all the bars - so instead of one single color,  the graph(having no series) should get default color palette(i.e., different colors for different bars), How ?

I thought of looking back into my nasty coding implementation of other posts examples but was not caught up with a working one, thank you to the pentaho old forum. A few minutes of googling made me to play with a property, with that here you go.!

locate the advanced properties of the graph and do a quick Control+F (Find) search for the property called "colorRole" and give its value as "category" (without quotes). 

That's all you need to do, save your visualization and go for preview. You should be having the categories displayed with default color palette having legends.!


Cheers..! (It's Tableau learning time).
By the way, Pentaho 8.1 is out, exciting right - download page.

- Sadakar Pochampalli

References: 
https://forums.pentaho.com/threads/150409-CTools-Bar-Chart-Colors/
https://community.hitachivantara.com/thread/13499-how-to-get-different-colors-for-ccc-bar-chart

11 comments:

  1. Very awesome blog,keep sharing more information.

    cognos tm1 training

    ReplyDelete
  2. I have bookmarked your site since this site contains significant data in it. You rock for keeping incredible stuff. I am a lot of appreciative of this site.
    https://360digitmg.com/course/project-management-professional-pmp

    ReplyDelete
  3. This is a great motivational article. In fact, I am happy with your good work. They publish very supportive data, really. Continue. Continue blogging. Hope you explore your next post
    360DigiTMG big data training

    ReplyDelete
  4. incredible article!! sharing these kind of articles is the decent one and I trust you will share an article on information science.By giving an organization like 360DigiTMG.it is one the best foundation for doing guaranteed coursesincredible article!! sharing these kind of articles is the decent one and I trust you will share an article on information science.By giving an organization like 360DigiTMG.it is one the best foundation for doing guaranteed courses

    360DigiTMG data science certification

    ReplyDelete
  5. Set aside my effort to peruse all the remarks, however I truly delighted in the article. It's consistently pleasant when you can not exclusively be educated, yet in addition, engaged!
    difference between analysis and analytics

    ReplyDelete
  6. This is my first time visit here. From the tremendous measures of comments on your articles.I deduce I am not only one having all the fulfillment legitimately here!
    training provider in malaysia

    ReplyDelete
  7. I will truly value the essayist's decision for picking this magnificent article fitting to my matter.Here is profound depiction about the article matter which helped me more.
    data scientist course in delhi

    ReplyDelete
  8. Very nice blog and articles. I am really very happy to visit your blog. Now I am finding which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post.

    business analytics course

    ReplyDelete