Many people say that Csdrawgraph does not support Chinese characters, which is actually wrong.
First we need to define the character set of the page number in the Picture Generation page
<%
Response.ContentType = "text/html; charset=gb2312 "
%>
Then define the relevant font when the chart is generated
<% Set Chart
= Server.CreateObject ("Csdrawgraph.draw") ' Chart object
chart.legendfont = ' Arial ' sets the font
of the project control bar Chart.legendtextsize = 9 ' Sets the font size of the project control bar
chart.title = "Histogram" The text content of the picture title
Chart.titlefont = "Arial" Set the font of the title of the picture
chart.titlesize = "Set the font size of the title of the picture
' Of course there are other tags of the font, you can try it yourself
' Chart.labelfont =
' Chart.titlesize =
' Chart.linegraphtextfont =
%>
The following figure is a chart image generated from the above code, where the x-axis is not set font, the default Arial font, the label and the control bar are set to the song body;