public boolean getCondition() {
return pieInfo != null && pieInfo.equals(pieView.getSector());
}
public void onSectorClickActionListener(ActionEvent event) {
PieSectorEvent pEvent = (PieSectorEvent) event;
sectorAction = true;
pieInfo = pEvent.getSector();
ChartModel model = (barView.getChart().getModel());
if (model instanceof CitiesDataBean) {
CitiesDataBean data = (CitiesDataBean) model;
data.setCountry((String) pieInfo.getKey());
}