The Chinese government is trying to make peace with Brazil's leading presidential candidate, Jair Bolsonaro, whose China-bashing threatens to chill a profitable trading relationship that has benefited both countries.

Chinese diplomats based in Brasilia have met twice with top Bolsonaro advisers in recent weeks, according to participants in the meetings. Their aim is to highlight cooperation with Latin America's largest country, whose grain and minerals have fueled China's rise while lifting millions of Brazilians from poverty in the resulting commodities boom.

Bolsonaro has portrayed China, its largest trading partner, as a predator looking to dominate key sectors of its economy.