Splunk Enterprise

What are the differences between JSChart and FlashChart?

the_wolverine
Champion

Is one preferred over the other?

0 Karma
1 Solution

sdvorak_splunk
Splunk Employee
Splunk Employee

One is rendered in JavaScript, the other in Flash. Functionally, they are equivalent. Most choose one or the other based on the user's browser support. If mobile users will be using the chart, Flash is not usually available, and thus they won't see the chart. I have also seen situations where the JavaScript version doesn't render as expected in certain browser (most recently have seen issues with Chrome while using a zoom level).

View solution in original post

justgrumpy
Path Finder

More information about charts in Splunk, can be found at these locations:

Splunk 4.3.4 and earlier -> http://docs.splunk.com/Documentation/Splunk/4.3.4/Developer/CustomChartingConfig-Overview

Splunk 5.0 and later -> http://docs.splunk.com/Documentation/Splunk/5.0/Viz/CustomChartingConfig-Overview

JSCharts do not necessarily have all the same features of FlashCharts. Be sure to check the properties pages to see which features work with JSCharts.

0 Karma

ma_anand1984
Contributor

@sdvorak_splunk

Is it possible to resize JSChart somee how at run time.

0 Karma

ChrisG
Splunk Employee
Splunk Employee

More info from the docs: http://docs.splunk.com/Documentation/Splunk/5.0/Viz/CustomChartingConfig-JSChart. In the Custom Chart Configuration Reference (linked above), each table has a column to indicate whether specific properties are supported in JSChart.

0 Karma

sdvorak_splunk
Splunk Employee
Splunk Employee

Agreed, there are properties available through Advanced XML that are not available in JSChart module. For advanced visualizations, the Flash version will be the most customizable. That said, the Flash version is the "legacy" version, and Splunk is working to bring JSChart to parity.

sdvorak_splunk
Splunk Employee
Splunk Employee

One is rendered in JavaScript, the other in Flash. Functionally, they are equivalent. Most choose one or the other based on the user's browser support. If mobile users will be using the chart, Flash is not usually available, and thus they won't see the chart. I have also seen situations where the JavaScript version doesn't render as expected in certain browser (most recently have seen issues with Chrome while using a zoom level).

DisabledLeopard
Explorer

JSChart also renders much faster and uses far less system resources than FlashChart's. This can be very evident if you have dashboards with many charts displayed on the same page, and particularly on systems & mobiles with low memory available for flash.

Get Updates on the Splunk Community!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...