Charts Borders Problem

UI Components for JSF
Post Reply
primedroid92
Posts: 4
Joined: 12 Feb 2014, 15:45

20 Feb 2014, 14:47

Hi all,

We are implementing an production cockpit, it looks like a dashboard with different charts on it.
I have a pie chart and a meter gauge in my application.
One requirement, our client demands is a uniform look of the dashboard.
My problem is that the pie chart is surrounded by a border and the meter gauge isn't.
So I wanted to add a border to the meter gauge, but I don't know how to do that. Is it necessary to modify the primefaces library itself or is it possible to override the css style anyhow with another file?

I would really appreciate any help, we have no idea how to solve this.

best regards,

primedroid92

potter.cu
Posts: 40
Joined: 15 Jul 2011, 20:02
Contact:

27 Oct 2014, 04:46

Hi:

I think that the easiest way is to put your Meter Gauge Chart inside a div and add some CSS style to match the border of the Pie Chart.
PrimeFaces 5.1 | PrimeFaces Extensions 3.0.0 | JSF Mojarra 2.2.8 | Apache Tomcat 7.0.53 | Jetty 8.1.3 | Mozilla Firefox 33 | Google Chrome 38 | Internet Explorer 11

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 57 guests