ich habe jetzt erfolgreich über Activex die RMCharts unter eXpress++ angebunden.
Leider bekomme ich das EURO-Symbols nicht als Beschriftung für die Achsen eingebaut.
Hat einer von Euch das schon geschafft?
Hier kommt ein bißchen Code
Code: Alles auswählen
//************** Design the chart **********************
::oChart:Reset()
::oChart:SetProperties( Nil, Nil, AliceBlue, RMC_CTRLSTYLEFLAT, Nil, "Microsoft Sans Serif")
// ::oChart:Font := "Microsoft Sans Serif" //"Tahoma" //
// ::oChart:RMCBackColor := AliceBlue
// ::oChart:RMCStyle := RMC_CTRLSTYLEFLAT
//************** Add Region 1 *****************************
::oChart:AddRegion()
::oChart:Region(1):Left := 5
::oChart:Region(1):Top := 5
::oChart:Region(1):Width := -5
::oChart:Region(1):Height := -5
::oChart:Region(1):Footer := ""
//************** Add caption to region 1 *******************
::oChart:Region(1):AddCaption()
::oChart:Region(1):Caption():Titel := "Titel"
::oChart:Region(1):Caption():BackColor := Blue
::oChart:Region(1):Caption():TextColor := Yellow
::oChart:Region(1):Caption():FontSize := 11
::oChart:Region(1):Caption():Bold := True
//************** Add grid to region 1 *****************************
::oChart:Region(1):AddGrid()
::oChart:Region(1):Grid():BackColor := Beige
::oChart:Region(1):Grid():AsGradient := False
::oChart:Region(1):Grid():BicolorMode := RMC_BICOLOR_LABELAXIS
::oChart:Region(1):Grid():Left := 0
::oChart:Region(1):Grid():Top := 0
::oChart:Region(1):Grid():Width := 0
::oChart:Region(1):Grid():Height := 0
//************** Add data axis to region 1 *****************************
::oChart:Region(1):AddDataAxis()
::oChart:Region(1):DataAxis(1):Alignment := RMC_DATAAXISLEFT
::oChart:Region(1):DataAxis(1):MinValue := 0
::oChart:Region(1):DataAxis(1):MaxValue := 100
::oChart:Region(1):DataAxis(1):TickCount := 11
::oChart:Region(1):DataAxis(1):FontSize := 8
::oChart:Region(1):DataAxis(1):TextColor := Black
::oChart:Region(1):DataAxis(1):LineColor := Black
::oChart:Region(1):DataAxis(1):LineStyle := RMC_LINESTYLEDOT
::oChart:Region(1):DataAxis(1):DecimalDigits := 2
::oChart:Region(1):DataAxis(1):AxisUnit := "EURO" // Hier soll eigentlich das EURO-Symbol erscheinen
::oChart:Region(1):DataAxis(1):AxisText := "Umsatz"
::oChart:Region(1):DataAxis(1):LabelTextAlignment := RMC_TEXTRIGHT
......
::oChart:Draw()