为PNG导出设置Highcharts yAxis.title样式

时间:2016-09-09 07:03:09

标签: javascript jquery

我正在使用Highcharts制作互动图表。将yAxis.title导出为PNG文件时,我的yAxis.title被切断(见图)。我尝试设置exporting: { chartOptions: { title: { text: view.defaults.settings.graph.title, style: { fontSize: '12px' } }, subtitle: { text: view.defaults.settings.graph.subtitle, style: { fontSize: '10px' } }, yAxis: { title: { margin: 0, x: 0, style: { fontSize: '8px' }, } }, legend: { enabled: true } } 的样式,但没有结果。我尝试过:

   CREATE TRIGGER [schema].[myTable_myTrigger] ON [schema].[myTable]
AFTER INSERT,
    INSERT,
    DELETE
AS
BEGIN
    SET NOCOUNT ON;

    DECLARE @tableAfterChange TABLE 
    DECLARE @tableBeforeChange TABLE

    -- If is insert
    -- BEGIN
    --     @tableAfterChange = inserted
    -- END
    -- ELSE if is delete
    -- BEGIN
    --        @tableAfterChange = deleted
    --  END
    --ELSE
    --BEGIN
    --       Else if is update
    -- @tableAfterChange = updated
    --END

    EXEC dbo.myProcedure @tableBeforeChange, @tableBeforeChange
END

enter image description here

如何管理PNG导出的样式?

0 个答案:

没有答案