In this article you will learn about how to Hide and Show the Fields of a Chart.


First, Login to the Helical Insight application with the required credentials. Then, open or create a report using any of the metadata. Also, you can create your own customize report with your data. This can be one or more fields in the charts.

By default when a report is opened and then on opening any chart based on the report, fields are enabled.



Hiding Fields In Charts
There are 2 ways to hide the selected fields :


  1. By clicking selected fields : To hide the field click on field Travel Cost (used in the current report). Similarly, field name and number of fields can differ depending on the columns used in the reports.
  2. By applying Javascript code externally: Just click on the required fields separately and see the result. Similarly, to hide the selected fields using code, you will require a Javascript. To execute the code, go to Editor tab, click on JS Editor,  then click on Add to enter the code and then click on Inject to executive the entered code.

There are various code format to follow in order to hide the fields :

  1. Hide Single Field
  2. Hide Multiple Fields
  3. Hide All Fields

Javascript Code:  (Hide Single Field  )

hi_container.set("postExecution", function () {
  Hdi.c3chart.hide("Travel Count");  // here "Travel Count" fields name can vary depending on 
                                    // field/s used in the report 
});

Output







Javascript Code:  (Hide Multiple Fields )

hi_container.set("postExecution", function () {
     Hdi.c3chart.hide("field1", "field2"); // here field name can be customizable 
});



Javascript Code:  (Hide All Fields )

hi_container.set("postExecution", function () {
     Hdi.c3chart.hide(); // here field name can be customizable 
});

 

Showing Fields In Charts

After hiding the required fields, now you may want to show certain fields. Here also, you can enable the fields in 2 ways :

  1. By clicked disabled fields on the chart legend
  2. Using Javascript code

As explained previously we have code to show the fields. We can:

  1. Show Single Field
  2. Show Multiple Fields
  3. Show All Fields

Javascript Code:  (Show Single Field  )

hi_container.set("postExecution", function () {
  Hdi.c3chart.hide("Travel Count");  // here "Travel Count" fields name can vary depending on 
                                    // field used in the report 
  Hdi.c3chart.show("Travel Count");  //It will enable the field with the "Travel Count" name
                                     //field name can be customizable
});

Output







Javascript Code:  (Show Multiple Fields )

hi_container.set("postExecution", function () {
     Hdi.c3chart.hide("field1", "field2"); // here field name can be customizable 
     Hdi.c3chart.show("field3", "field2"); // this code used for showing hidden fields
                                          //field3 : already enabled, field2: gets enabled
});



Javascript Code:  (Show Multiple Fields )

hi_container.set("postExecution", function () {
     Hdi.c3chart.hide("field1", "field2"); // here field name can be customizable 
     Hdi.c3chart.show();  // this code will enable all the hidden as well as
                          // already enabled fields
});



In addition to it, you can use more customization using CSS and Javascript code. Please refer our adhoc chart customization articles.



For more info, contact us at support@helicalinsight.com

Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered