InternalDevice device) {
// Convert the variant into an asset.
ChartMetaData metaData = (ChartMetaData) variant.getMetaData();
ChartAsset asset = new ChartAsset();
setAssetIdentity(policy, asset);
AxisMetaData axis;
asset.setHeightHint(metaData.getHeightHint());
asset.setWidthHint(metaData.getWidthHint());
axis = metaData.getXAxis();
asset.setXInterval(axis.getInterval());
asset.setXTitle(axis.getTitle());
axis = metaData.getYAxis();
asset.setYInterval(axis.getInterval());
asset.setYTitle(axis.getTitle());
return asset;
}